Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1300)

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 1444173002: third_party/WebKit: fix typos found in comments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CL Description change, Typo patch apply to upstream master. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
index d1965ce7bb590056519a42458a5498964c9847c6..f47ea1865c91a3e0bd86f856e1831613580424a5 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -2980,7 +2980,7 @@ TEST_F(WebFrameTest, DontZoomInOnFocusedInTouchAction)
ASSERT_EQ(initialScale, webViewHelper.webViewImpl()->pageScaleFactor());
// Focus the third textbox that has a touch-action: pan-x ancestor, this
- // should cause an autozoom since it's seperated from the node with the
+ // should cause an autozoom since it's separated from the node with the
// touch-action by an overflow:scroll element.
webViewHelper.webView()->advanceFocus(false);
webViewHelper.webViewImpl()->scrollFocusedNodeIntoRect(WebRect());
@@ -3087,7 +3087,7 @@ TEST_F(WebFrameTest, DivScrollIntoEditablePreservePageScaleTest)
const WebRect editBoxWithText(200, 200, 250, 20);
webViewHelper.webView()->advanceFocus(false);
- // Set the caret to the begining of the input box.
+ // Set the caret to the beginning of the input box.
webViewHelper.webView()->mainFrame()->document().getElementById("EditBoxWithText").to<WebInputElement>().setSelectionRange(0, 0);
setScaleAndScrollAndLayout(webViewHelper.webViewImpl(), WebPoint(0, 0), 1);
WebRect rect, caret;
@@ -6417,7 +6417,7 @@ TEST_F(WebFrameTest, FrameViewScrollAccountsForTopControls)
webView->applyViewportDeltas(WebFloatSize(), WebFloatSize(), WebFloatSize(), 1.0f, -30.0f / topControlsHeight);
EXPECT_POINT_EQ(IntPoint(0, 1910), frameView->maximumScrollPosition());
- // Simulate a LayoutPart::resize. The frame is resized to accomodate
+ // Simulate a LayoutPart::resize. The frame is resized to accommodate
// the top controls and Blink's view of the top controls matches that of
// the CC
webView->applyViewportDeltas(WebFloatSize(), WebFloatSize(), WebFloatSize(), 1.0f, 30.0f / topControlsHeight);
@@ -7696,7 +7696,7 @@ TEST_P(ParameterizedWebFrameTest, RemoteFrameInitialCommitType)
view->setMainFrame(remoteClient.frame());
remoteClient.frame()->setReplicatedOrigin(WebSecurityOrigin::createFromString(WebString::fromUTF8(m_baseURL)));
- // If an iframe has a remote main frame, ensure the inital commit is correctly identified as WebInitialCommitInChildFrame.
+ // If an iframe has a remote main frame, ensure the initial commit is correctly identified as WebInitialCommitInChildFrame.
CommitTypeWebFrameClient childFrameClient;
WebLocalFrame* childFrame = view->mainFrame()->toWebRemoteFrame()->createLocalChild(WebTreeScopeType::Document, "", WebSandboxFlags::None, &childFrameClient, nullptr, WebFrameOwnerProperties());
registerMockedHttpURLLoad("foo.html");
« no previous file with comments | « third_party/WebKit/Source/web/tests/VisualViewportTest.cpp ('k') | third_party/WebKit/Source/wtf/DateMath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698