Commit 943ec8a0 authored by Julien Brianceau's avatar Julien Brianceau Committed by Commit Bot

extensions: Fix common misspellings (excluding comments)

Bug: 750830
Change-Id: I98830d02a56b733dc5e631a8e10d9e55e2a5a6fb
Reviewed-on: https://chromium-review.googlesource.com/600327Reviewed-by: default avatarBen Wells <benwells@chromium.org>
Commit-Queue: Julien Brianceau <jbriance@cisco.com>
Cr-Commit-Position: refs/heads/master@{#491977}
parent 0b7a75e7
...@@ -76,7 +76,7 @@ const char kErrorIndicatePropertyNotSet[] = ...@@ -76,7 +76,7 @@ const char kErrorIndicatePropertyNotSet[] =
const char kErrorServiceNotRegistered[] = const char kErrorServiceNotRegistered[] =
"The characteristic is not owned by a service that is registered."; "The characteristic is not owned by a service that is registered.";
const char kErrorUnknownNotificationError[] = const char kErrorUnknownNotificationError[] =
"An unknown notification error occured."; "An unknown notification error occurred.";
const char kStatusAdvertisementAlreadyExists[] = const char kStatusAdvertisementAlreadyExists[] =
"An advertisement is already advertising"; "An advertisement is already advertising";
......
...@@ -501,7 +501,7 @@ void ExtensionDownloader::CreateManifestFetcher() { ...@@ -501,7 +501,7 @@ void ExtensionDownloader::CreateManifestFetcher() {
cookies_allowed: NO cookies_allowed: NO
setting: setting:
"This feature cannot be disabled. It is only enabled when the user " "This feature cannot be disabled. It is only enabled when the user "
"has installed extentions." "has installed extensions."
chrome_policy { chrome_policy {
ExtensionInstallBlacklist { ExtensionInstallBlacklist {
policy_options {mode: MANDATORY} policy_options {mode: MANDATORY}
...@@ -821,7 +821,7 @@ void ExtensionDownloader::CreateExtensionFetcher() { ...@@ -821,7 +821,7 @@ void ExtensionDownloader::CreateExtensionFetcher() {
trigger: trigger:
"An update check indicates an extension update is available." "An update check indicates an extension update is available."
data: data:
"URL and required data to specify the extention to download. " "URL and required data to specify the extension to download. "
"OAuth2 token is also sent if connection is secure and to Google." "OAuth2 token is also sent if connection is secure and to Google."
destination: WEBSITE destination: WEBSITE
} }
...@@ -830,7 +830,7 @@ void ExtensionDownloader::CreateExtensionFetcher() { ...@@ -830,7 +830,7 @@ void ExtensionDownloader::CreateExtensionFetcher() {
cookies_store: "user" cookies_store: "user"
setting: setting:
"This feature cannot be disabled. It is only enabled when the user " "This feature cannot be disabled. It is only enabled when the user "
"has installed extentions and it needs updating." "has installed extensions and it needs updating."
chrome_policy { chrome_policy {
ExtensionInstallBlacklist { ExtensionInstallBlacklist {
policy_options {mode: MANDATORY} policy_options {mode: MANDATORY}
......
...@@ -9,7 +9,7 @@ var testGetAvailableSinks = function() { ...@@ -9,7 +9,7 @@ var testGetAvailableSinks = function() {
chrome.test.assertEq(1, sink.id); chrome.test.assertEq(1, sink.id);
chrome.test.assertEq("Disconnected", sink.state); chrome.test.assertEq("Disconnected", sink.state);
chrome.test.assertEq("sink 1", sink.name); chrome.test.assertEq("sink 1", sink.name);
chrome.test.succeed("GetAvailableSinks succeded"); chrome.test.succeed("GetAvailableSinks succeeded");
}; };
chrome.displaySource.getAvailableSinks(callback); chrome.displaySource.getAvailableSinks(callback);
}; };
...@@ -30,7 +30,7 @@ var testRequestAuthentication = function() { ...@@ -30,7 +30,7 @@ var testRequestAuthentication = function() {
var callback = function(auth_info) { var callback = function(auth_info) {
chrome.test.assertEq("PIN", auth_info.method); chrome.test.assertEq("PIN", auth_info.method);
chrome.test.assertEq(undefined, auth_info.data); chrome.test.assertEq(undefined, auth_info.data);
chrome.test.succeed("RequestAuthentication succeded"); chrome.test.succeed("RequestAuthentication succeeded");
}; };
chrome.displaySource.requestAuthentication(1, callback); chrome.displaySource.requestAuthentication(1, callback);
}; };
......
...@@ -108,7 +108,7 @@ function testAppViewWithUndefinedDataShouldSucceed(appToEmbed) { ...@@ -108,7 +108,7 @@ function testAppViewWithUndefinedDataShouldSucceed(appToEmbed) {
LOG('appToEmbed ' + appToEmbed); LOG('appToEmbed ' + appToEmbed);
document.body.appendChild(appview); document.body.appendChild(appview);
// Step 1: Attempt to connect to a non-existant app (abc123). // Step 1: Attempt to connect to a non-existant app (abc123).
LOG('Attempting to connect to non-existant app.'); LOG('Attempting to connect to non-existent app.');
appview.connect('abc123', undefined, function(success) { appview.connect('abc123', undefined, function(success) {
// Make sure we fail. // Make sure we fail.
if (success) { if (success) {
...@@ -116,7 +116,7 @@ function testAppViewWithUndefinedDataShouldSucceed(appToEmbed) { ...@@ -116,7 +116,7 @@ function testAppViewWithUndefinedDataShouldSucceed(appToEmbed) {
embedder.test.fail(); embedder.test.fail();
return; return;
} }
LOG('failed to connect to non-existant app.'); LOG('failed to connect to non-existent app.');
LOG('attempting to connect to known app.'); LOG('attempting to connect to known app.');
// Step 2: Attempt to connect to an app we know exists. // Step 2: Attempt to connect to an app we know exists.
appview.connect(appToEmbed, undefined, function(success) { appview.connect(appToEmbed, undefined, function(success) {
......
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