Commit e0bf3700 authored by Julien Brianceau's avatar Julien Brianceau Committed by Commit Bot

content: Fix common misspellings (excluding comments)

Bug: 750830
Change-Id: Ifb5ced5c4dd314b17c0bd1466a5d6bd740753da8
Reviewed-on: https://chromium-review.googlesource.com/598092Reviewed-by: default avatarNick Carter <nick@chromium.org>
Commit-Queue: Nick Carter <nick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491448}
parent c01616be
......@@ -686,7 +686,7 @@ below:
<message name="IDS_FORM_VALIDATION_TYPE_MISMATCH_EMAIL_INVALID_LOCAL" desc="Heading or short sentence shown when there is an email field in a form and a user specified an invalid value like 'us,er@example.com'.">
A part followed by '<ph name="ATSIGN">$1<ex>@</ex></ph>' should not contain the symbol '<ph name="INVALIDCHARACTER">$2<ex>,</ex></ph>'.
</message>
<message name="IDS_FORM_VALIDATION_TYPE_MISMATCH_EMAIL_NO_AT_SIGN" desc="Heading or short sentence shown when there is an email field in a form and a user specified an invalid value liek 'user'.">
<message name="IDS_FORM_VALIDATION_TYPE_MISMATCH_EMAIL_NO_AT_SIGN" desc="Heading or short sentence shown when there is an email field in a form and a user specified an invalid value like 'user'.">
Please include an '<ph name="ATSIGN">$1<ex>@</ex></ph>' in the email address. '<ph name="INVALIDADDRESS">$2<ex>user</ex></ph>' is missing an '<ph name="ATSIGN">$1<ex>@</ex></ph>'.
</message>
<message name="IDS_FORM_VALIDATION_TYPE_MISMATCH_MULTIPLE_EMAIL" desc="Heading or short sentence shown there is a field which accepts multiple e-mail addresses and a user specified a value which is not a comma-separated e-mail addresses.">
......
......@@ -79,7 +79,7 @@ void MediaPlayerRenderer::CreateMediaPlayer(
// Force the initialization of |media_resource_getter_| first. If it fails,
// the RenderFrameHost may have been destroyed already.
if (!GetMediaResourceGetter()) {
DLOG(ERROR) << "Unable to retreive MediaResourceGetter";
DLOG(ERROR) << "Unable to retrieve MediaResourceGetter";
init_cb.Run(media::PIPELINE_ERROR_INITIALIZATION_FAILED);
return;
}
......
......@@ -266,17 +266,17 @@ TEST_F(VideoCaptureControllerTest, AddAndRemoveClients) {
controller_->StopSession(200); // Session 200 does not exist anymore
// Clients in controller: [B/2]
ASSERT_EQ(1, controller_->GetClientCount())
<< "Stopping non-existant session 200 should be a no-op.";
<< "Stopping non-existent session 200 should be a no-op.";
controller_->StopSession(256); // Session 256 never existed.
// Clients in controller: [B/2]
ASSERT_EQ(1, controller_->GetClientCount())
<< "Stopping non-existant session 256 should be a no-op.";
<< "Stopping non-existent session 256 should be a no-op.";
ASSERT_EQ(static_cast<int>(kInvalidMediaCaptureSessionId),
controller_->RemoveClient(client_a_route_1, client_a_.get()))
<< "Removing already-removed client A/1 should fail.";
// Clients in controller: [B/2]
ASSERT_EQ(1, controller_->GetClientCount())
<< "Removing non-existant session 200 should be a no-op.";
<< "Removing non-existent session 200 should be a no-op.";
ASSERT_EQ(400, controller_->RemoveClient(client_b_route_2, client_b_.get()))
<< "Removing client B/2 should return its session_id.";
// Clients in controller: []
......
......@@ -29,7 +29,7 @@ const char* ServiceWorkerStatusToString(ServiceWorkerStatusCode status) {
case SERVICE_WORKER_ERROR_ACTIVATE_WORKER_FAILED:
return "ServiceWorker failed to activate";
case SERVICE_WORKER_ERROR_IPC_FAILED:
return "IPC connection was closed or IPC error has occured";
return "IPC connection was closed or IPC error has occurred";
case SERVICE_WORKER_ERROR_NETWORK:
return "Operation failed by network issue";
case SERVICE_WORKER_ERROR_SECURITY:
......
......@@ -60,7 +60,7 @@ public class ImportantFileWriterAndroidTest {
public void testAtomicWrite() {
// Try writing a file that can't be created.
byte[] data1 = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
Assert.assertFalse("Writing bad file succeded",
Assert.assertFalse("Writing bad file succeeded",
ImportantFileWriterAndroid.writeFileAtomically("/junk/junk", data1));
File dir = InstrumentationRegistry.getInstrumentation().getTargetContext().getFilesDir();
File testFile = new File(dir, "ImportantFileTest");
......
......@@ -201,7 +201,7 @@ void AudioRendererSinkCacheImpl::DeleteSink(
// When |force_delete_used| is set, it's expected that we are deleting a
// used sink.
DCHECK((!force_delete_used) || (force_delete_used && cache_iter->used))
<< "Attempt to delete a non-aquired sink.";
<< "Attempt to delete a non-acquired sink.";
if (!force_delete_used && cache_iter->used)
return;
......
......@@ -99,7 +99,7 @@
</button>
<form method="post" action="data:unknown/mimetype,test">
<input type=submit id='form-post-to-unknown-mimetype'
value='Submit form to data URL unkown mimetype'>
value='Submit form to data URL unknown mimetype'>
</form>
</html>
......@@ -16,17 +16,17 @@ that the baseline images are regenerated on the next run.
</style>
<script id="myWorker" type="text/worker">
self.onmessage = function(e) {
var transfered = e.data;
var transferred = e.data;
// Resize offscreenCanvas from 200X200 to 40X50.
transfered.width = 40;
transfered.height = 50;
var ctx2d = transfered.getContext('2d');
transferred.width = 40;
transferred.height = 50;
var ctx2d = transferred.getContext('2d');
// The resultant image should be 100X80 red-color rectangle in the middle
// of green background.
ctx2d.fillStyle = "green";
ctx2d.fillRect(0, 0, transfered.width, transfered.height);
ctx2d.fillRect(0, 0, transferred.width, transferred.height);
ctx2d.fillStyle = "red";
ctx2d.fillRect(10, 10, 20, 20);
ctx2d.commit().then(function() {
......
......@@ -60,13 +60,13 @@ function drawTriangle(gl)
}
self.onmessage = function(e) {
var transfered = e.data;
var transferred = e.data;
// Resize the canvas from 200X200 to 40X50
// The triangle should scale proportionately with edge softened
transfered.width = 40;
transfered.height = 50;
transferred.width = 40;
transferred.height = 50;
var gl = transfered.getContext('webgl');
var gl = transferred.getContext('webgl');
drawTriangle(gl);
gl.commit();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment