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,
tab,
"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.
helper.WaitForTextInputStateChanged(ui::TEXT_INPUT_TYPE_PASSWORD);
EXPECT_EQ(ui::TEXT_INPUT_TYPE_PASSWORD, helper.GetTextInputType());
......
......@@ -697,7 +697,7 @@ IN_PROC_BROWSER_TEST_F(WallpaperManagerBrowserTest, DisplayChange) {
WallpaperManager::Get()->GetAppropriateResolution());
EXPECT_EQ(1, observer.GetUpdateWallpaperCountAndReset());
// Max display size didn't chagne.
// Max display size didn't change.
UpdateDisplay("900x800/r,400x1366");
// Wait for asynchronous DisplayBackgroundController::UpdateDisplay() call.
base::RunLoop().RunUntilIdle();
......
......@@ -218,7 +218,7 @@ cvox.ChromeVoxEventWatcher.secondPassThroughKeyUp_ = 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.
* @type {MutationObserver}
* @private
......
......@@ -126,7 +126,7 @@ IN_PROC_BROWSER_TEST_F(LanguageOptionsWebUITest, TestAvailableLanguages) {
// This test will validate that the language webui is accessible through
// the keyboard.
// This test must be updated if the tab order of the elements on this page
// is chagned.
// is changed.
// flaky: http://crbug.com/405711
IN_PROC_BROWSER_TEST_F(LanguageOptionsWebUITest, TestListTabAccessibility) {
// Verify that the language list is focused by default.
......
......@@ -38,7 +38,7 @@ function testAutoSize() {
});
webview.addEventListener('sizechanged', function(e) {
window.console.log('sizechagned: dimension: ' + e.newWidth + ' X ' +
window.console.log('sizechanged: dimension: ' + e.newWidth + ' X ' +
e.newHeight);
chrome.test.assertTrue(e.newWidth >= minw);
chrome.test.assertTrue(e.newWidth <= maxw);
......
......@@ -25,7 +25,7 @@ class TestMessageHandler {
enum MessageResponse {
// Reset the timeout and keep running.
CONTINUE,
// Stop runnning.
// Stop running.
DONE
};
......
......@@ -71,7 +71,7 @@ class NET_EXPORT_PRIVATE DnsConfigServicePosix : public DnsConfigService {
scoped_refptr<ConfigReader> config_reader_;
scoped_refptr<HostsReader> hosts_reader_;
#if defined(OS_ANDROID)
// Has DnsConfigWatcher detected any config chagnes yet?
// Has DnsConfigWatcher detected any config changes yet?
bool seen_config_change_;
#endif
......
......@@ -74,7 +74,7 @@ bool TestInstance::Init() {
TestInstance::~TestInstance() {
ResetTestObject();
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());
// Test a post-condition which ensures the instance objects destructor is
......
......@@ -1871,7 +1871,7 @@ TEST_F(WindowObserverTest, WindowObserver) {
w1->RemoveObserver(this);
}
// Test if OnWindowVisibilityChagned is invoked with expected
// Test if OnWindowVisibilityChanged is invoked with expected
// parameters.
TEST_F(WindowObserverTest, WindowVisibility) {
scoped_ptr<Window> w1(CreateTestWindowWithId(1, root_window()));
......
......@@ -155,7 +155,7 @@ TEST_F(ShadowControllerTest, ShadowStyle) {
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) {
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