Commit 3c651d07 authored by thakis's avatar thakis Committed by Commit bot

Fix a few spelling errors in comments.

BUG=none
TBR=brettw

Review URL: https://codereview.chromium.org/1114623003

Cr-Commit-Position: refs/heads/master@{#327383}
parent 712427d9
...@@ -127,7 +127,7 @@ IN_PROC_BROWSER_TEST_F(TextInput_TextInputStateChangedTest, ...@@ -127,7 +127,7 @@ IN_PROC_BROWSER_TEST_F(TextInput_TextInputStateChangedTest,
tab, tab,
"document.getElementById('text_id').focus();")); "document.getElementById('text_id').focus();"));
// Expects PASSWORD text input type because javascript will chagne the focus // Expects PASSWORD text input type because javascript will change the focus
// to password field in #text_id's onfocus handler. // to password field in #text_id's onfocus handler.
helper.WaitForTextInputStateChanged(ui::TEXT_INPUT_TYPE_PASSWORD); helper.WaitForTextInputStateChanged(ui::TEXT_INPUT_TYPE_PASSWORD);
EXPECT_EQ(ui::TEXT_INPUT_TYPE_PASSWORD, helper.GetTextInputType()); EXPECT_EQ(ui::TEXT_INPUT_TYPE_PASSWORD, helper.GetTextInputType());
......
...@@ -697,7 +697,7 @@ IN_PROC_BROWSER_TEST_F(WallpaperManagerBrowserTest, DisplayChange) { ...@@ -697,7 +697,7 @@ IN_PROC_BROWSER_TEST_F(WallpaperManagerBrowserTest, DisplayChange) {
WallpaperManager::Get()->GetAppropriateResolution()); WallpaperManager::Get()->GetAppropriateResolution());
EXPECT_EQ(1, observer.GetUpdateWallpaperCountAndReset()); EXPECT_EQ(1, observer.GetUpdateWallpaperCountAndReset());
// Max display size didn't chagne. // Max display size didn't change.
UpdateDisplay("900x800/r,400x1366"); UpdateDisplay("900x800/r,400x1366");
// Wait for asynchronous DisplayBackgroundController::UpdateDisplay() call. // Wait for asynchronous DisplayBackgroundController::UpdateDisplay() call.
base::RunLoop().RunUntilIdle(); base::RunLoop().RunUntilIdle();
......
...@@ -218,7 +218,7 @@ cvox.ChromeVoxEventWatcher.secondPassThroughKeyUp_ = false; ...@@ -218,7 +218,7 @@ cvox.ChromeVoxEventWatcher.secondPassThroughKeyUp_ = false;
cvox.ChromeVox.searchKeyHeld = false; cvox.ChromeVox.searchKeyHeld = false;
/** /**
* The mutation observer that listens for chagnes to text controls * The mutation observer that listens for changes to text controls
* that might not send other events. * that might not send other events.
* @type {MutationObserver} * @type {MutationObserver}
* @private * @private
......
...@@ -126,7 +126,7 @@ IN_PROC_BROWSER_TEST_F(LanguageOptionsWebUITest, TestAvailableLanguages) { ...@@ -126,7 +126,7 @@ IN_PROC_BROWSER_TEST_F(LanguageOptionsWebUITest, TestAvailableLanguages) {
// This test will validate that the language webui is accessible through // This test will validate that the language webui is accessible through
// the keyboard. // the keyboard.
// This test must be updated if the tab order of the elements on this page // This test must be updated if the tab order of the elements on this page
// is chagned. // is changed.
// flaky: http://crbug.com/405711 // flaky: http://crbug.com/405711
IN_PROC_BROWSER_TEST_F(LanguageOptionsWebUITest, TestListTabAccessibility) { IN_PROC_BROWSER_TEST_F(LanguageOptionsWebUITest, TestListTabAccessibility) {
// Verify that the language list is focused by default. // Verify that the language list is focused by default.
......
...@@ -38,7 +38,7 @@ function testAutoSize() { ...@@ -38,7 +38,7 @@ function testAutoSize() {
}); });
webview.addEventListener('sizechanged', function(e) { webview.addEventListener('sizechanged', function(e) {
window.console.log('sizechagned: dimension: ' + e.newWidth + ' X ' + window.console.log('sizechanged: dimension: ' + e.newWidth + ' X ' +
e.newHeight); e.newHeight);
chrome.test.assertTrue(e.newWidth >= minw); chrome.test.assertTrue(e.newWidth >= minw);
chrome.test.assertTrue(e.newWidth <= maxw); chrome.test.assertTrue(e.newWidth <= maxw);
......
...@@ -25,7 +25,7 @@ class TestMessageHandler { ...@@ -25,7 +25,7 @@ class TestMessageHandler {
enum MessageResponse { enum MessageResponse {
// Reset the timeout and keep running. // Reset the timeout and keep running.
CONTINUE, CONTINUE,
// Stop runnning. // Stop running.
DONE DONE
}; };
......
...@@ -71,7 +71,7 @@ class NET_EXPORT_PRIVATE DnsConfigServicePosix : public DnsConfigService { ...@@ -71,7 +71,7 @@ class NET_EXPORT_PRIVATE DnsConfigServicePosix : public DnsConfigService {
scoped_refptr<ConfigReader> config_reader_; scoped_refptr<ConfigReader> config_reader_;
scoped_refptr<HostsReader> hosts_reader_; scoped_refptr<HostsReader> hosts_reader_;
#if defined(OS_ANDROID) #if defined(OS_ANDROID)
// Has DnsConfigWatcher detected any config chagnes yet? // Has DnsConfigWatcher detected any config changes yet?
bool seen_config_change_; bool seen_config_change_;
#endif #endif
......
...@@ -74,7 +74,7 @@ bool TestInstance::Init() { ...@@ -74,7 +74,7 @@ bool TestInstance::Init() {
TestInstance::~TestInstance() { TestInstance::~TestInstance() {
ResetTestObject(); ResetTestObject();
if (testing_interface_->IsOutOfProcess() == PP_FALSE) { if (testing_interface_->IsOutOfProcess() == PP_FALSE) {
// This should cause the instance object's descructor to be called. // This should cause the instance object's destructor to be called.
testing_interface_->RunV8GC(instance_->pp_instance()); testing_interface_->RunV8GC(instance_->pp_instance());
// Test a post-condition which ensures the instance objects destructor is // Test a post-condition which ensures the instance objects destructor is
......
...@@ -1871,7 +1871,7 @@ TEST_F(WindowObserverTest, WindowObserver) { ...@@ -1871,7 +1871,7 @@ TEST_F(WindowObserverTest, WindowObserver) {
w1->RemoveObserver(this); w1->RemoveObserver(this);
} }
// Test if OnWindowVisibilityChagned is invoked with expected // Test if OnWindowVisibilityChanged is invoked with expected
// parameters. // parameters.
TEST_F(WindowObserverTest, WindowVisibility) { TEST_F(WindowObserverTest, WindowVisibility) {
scoped_ptr<Window> w1(CreateTestWindowWithId(1, root_window())); scoped_ptr<Window> w1(CreateTestWindowWithId(1, root_window()));
......
...@@ -155,7 +155,7 @@ TEST_F(ShadowControllerTest, ShadowStyle) { ...@@ -155,7 +155,7 @@ TEST_F(ShadowControllerTest, ShadowStyle) {
EXPECT_EQ(Shadow::STYLE_ACTIVE, shadow2->style()); EXPECT_EQ(Shadow::STYLE_ACTIVE, shadow2->style());
} }
// Tests that shadow gets updated when the window show state chagnes. // Tests that shadow gets updated when the window show state changes.
TEST_F(ShadowControllerTest, ShowState) { TEST_F(ShadowControllerTest, ShowState) {
ShadowController::TestApi api(shadow_controller()); ShadowController::TestApi api(shadow_controller());
......
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