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

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

Issue 2887273003: No extra space emission in TextIterator::HandleReplacedElement (Closed)
Patch Set: Fri May 19 00:09:20 PDT 2017 Created 3 years, 7 months 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
« no previous file with comments | « third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0cc79443ce04832706b604e4c999995648191ddb..0c9c747783c817552c551a852a3dcf74c150ee1d 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -9024,7 +9024,7 @@ TEST_F(WebFrameSwapTest, SwapFirstChild) {
FrameTestHelpers::LoadFrame(local_frame, base_url_ + "subframe-hello.html");
std::string content =
WebFrameContentDumper::DumpWebViewAsText(WebView(), 1024).Utf8();
- EXPECT_EQ(" \n\nhello\n\nb \n\na\n\nc", content);
+ EXPECT_EQ("\n\nhello\n\nb \n\na\n\nc", content);
// Manually reset to break WebViewHelper's dependency on the stack allocated
// TestWebFrameClient.
@@ -9068,7 +9068,7 @@ TEST_F(WebFrameSwapTest, SwapMiddleChild) {
FrameTestHelpers::LoadFrame(local_frame, base_url_ + "subframe-hello.html");
std::string content =
WebFrameContentDumper::DumpWebViewAsText(WebView(), 1024).Utf8();
- EXPECT_EQ(" \n\na\n\nhello\n\nc", content);
+ EXPECT_EQ("\n\na\n\nhello\n\nc", content);
// Manually reset to break WebViewHelper's dependency on the stack allocated
// TestWebFrameClient.
@@ -9106,7 +9106,7 @@ TEST_F(WebFrameSwapTest, SwapLastChild) {
FrameTestHelpers::LoadFrame(local_frame, base_url_ + "subframe-hello.html");
std::string content =
WebFrameContentDumper::DumpWebViewAsText(WebView(), 1024).Utf8();
- EXPECT_EQ(" \n\na\n\nb \n\na\n\nhello", content);
+ EXPECT_EQ("\n\na\n\nb \n\na\n\nhello", content);
// Manually reset to break WebViewHelper's dependency on the stack allocated
// TestWebFrameClient.
@@ -9186,7 +9186,7 @@ TEST_F(WebFrameSwapTest, SwapParentShouldDetachChildren) {
FrameTestHelpers::LoadFrame(local_frame, base_url_ + "subframe-hello.html");
std::string content =
WebFrameContentDumper::DumpWebViewAsText(WebView(), 1024).Utf8();
- EXPECT_EQ(" \n\na\n\nhello\n\nc", content);
+ EXPECT_EQ("\n\na\n\nhello\n\nc", content);
// Manually reset to break WebViewHelper's dependency on the stack allocated
// TestWebFrameClient.
« no previous file with comments | « third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698