Commit 015f38fb authored by Solomon Kinard's avatar Solomon Kinard Committed by Commit Bot

[Extensions] Quick spelling change to existing files.

Bug: None
Change-Id: I5e5e05124668a459af71f4304918d0639f1bd75b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2463397Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
Reviewed-by: default avatarIstiaque Ahmed <lazyboy@chromium.org>
Commit-Queue: Solomon Kinard <solomonkinard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#817686}
parent 1a8828a2
...@@ -100,7 +100,7 @@ chrome.test.runTests([ ...@@ -100,7 +100,7 @@ chrome.test.runTests([
}, },
function connectToRemovedTab() { function connectToRemovedTab() {
// Expect a disconnect event when you connect to a non-existant tab, and // Expect a disconnect event when you connect to a non-existent tab, and
// once disconnected, expect an error while trying to post messages. // once disconnected, expect an error while trying to post messages.
chrome.tabs.create({}, pass(function(tab) { chrome.tabs.create({}, pass(function(tab) {
chrome.tabs.remove(tab.id, pass(function() { chrome.tabs.remove(tab.id, pass(function() {
......
...@@ -199,7 +199,7 @@ onload = async function() { ...@@ -199,7 +199,7 @@ onload = async function() {
}, },
// Navigates to a non-existent page (this test case must be last, // Navigates to a non-existent page (this test case must be last,
// otherwise the non-existant URL breaks tests that follow, since loading // otherwise the non-existent URL breaks tests that follow, since loading
// those test pages is seen as a non-extension -> extension URL // those test pages is seen as a non-extension -> extension URL
// transition, which is forbidden by web_accessible_resources enforcement // transition, which is forbidden by web_accessible_resources enforcement
// in manifest version 2.) // in manifest version 2.)
......
...@@ -72,8 +72,8 @@ function testAppViewWithUndefinedDataShouldSucceed(appToEmbed) { ...@@ -72,8 +72,8 @@ function testAppViewWithUndefinedDataShouldSucceed(appToEmbed) {
var appview = new AppView(); var appview = new AppView();
LOG('appToEmbed ' + appToEmbed); LOG('appToEmbed ' + appToEmbed);
document.body.appendChild(appview); document.body.appendChild(appview);
// Step 1: Attempt to connect to a non-existant app. // Step 1: Attempt to connect to a non-existent app.
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) {
...@@ -81,7 +81,7 @@ function testAppViewWithUndefinedDataShouldSucceed(appToEmbed) { ...@@ -81,7 +81,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) {
......
...@@ -24,7 +24,7 @@ namespace extensions { ...@@ -24,7 +24,7 @@ namespace extensions {
// following characteristics: // following characteristics:
// - The top-level frame has ID 0. // - The top-level frame has ID 0.
// - Any child frame has a positive ID. // - Any child frame has a positive ID.
// - A non-existant frame has ID -1. // - A non-existent frame has ID -1.
// - They are only guaranteed to be unique within a tab. // - They are only guaranteed to be unique within a tab.
// - The ID does not change during the frame's lifetime and is not re-used after // - The ID does not change during the frame's lifetime and is not re-used after
// the frame is removed. The frame may change its current RenderFrameHost over // the frame is removed. The frame may change its current RenderFrameHost over
......
...@@ -86,7 +86,7 @@ TEST_F(FileReaderTest, BiggerFile) { ...@@ -86,7 +86,7 @@ TEST_F(FileReaderTest, BiggerFile) {
RunBasicTest("bigfile"); RunBasicTest("bigfile");
} }
TEST_F(FileReaderTest, NonExistantFile) { TEST_F(FileReaderTest, NonExistentFile) {
base::FilePath path; base::FilePath path;
base::PathService::Get(DIR_TEST_DATA, &path); base::PathService::Get(DIR_TEST_DATA, &path);
std::string extension_id = crx_file::id_util::GenerateId("test"); std::string extension_id = crx_file::id_util::GenerateId("test");
......
...@@ -107,7 +107,7 @@ function testAppViewWithUndefinedDataShouldSucceed(appToEmbed) { ...@@ -107,7 +107,7 @@ function testAppViewWithUndefinedDataShouldSucceed(appToEmbed) {
var appview = new AppView(); var appview = new AppView();
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-existent app (abc123).
LOG('Attempting to connect to non-existent 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.
......
...@@ -1852,7 +1852,7 @@ TEST_P(SimpleURLLoaderTest, UploadFileWithRetry) { ...@@ -1852,7 +1852,7 @@ TEST_P(SimpleURLLoaderTest, UploadFileWithRetry) {
EXPECT_EQ(1, test_helper->download_as_stream_retries()); EXPECT_EQ(1, test_helper->download_as_stream_retries());
} }
TEST_P(SimpleURLLoaderTest, UploadNonexistantFile) { TEST_P(SimpleURLLoaderTest, UploadNonexistentFile) {
std::unique_ptr<SimpleLoaderTestHelper> test_helper = std::unique_ptr<SimpleLoaderTestHelper> test_helper =
CreateHelperForURL(test_server_.GetURL("/echo"), "POST"); CreateHelperForURL(test_server_.GetURL("/echo"), "POST");
// Path to a file that doesn't exist. Start with the test directory just to // Path to a file that doesn't exist. Start with the test directory just to
......
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