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 ae3e9cf891a4b7e0b65b18344b50d90188858ef4..c034e88a5a595c185c68d5d6fa2f8df8579871c5 100644 |
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
@@ -7599,9 +7599,10 @@ TEST_F(WebFrameSwapTest, UniqueNameAfterRemoteToLocalSwap) |
EXPECT_EQ(uniqueName.utf8(), WebString(toWebLocalFrameImpl(localFrame)->frame()->loader().currentItem()->target()).utf8()); |
// Repeat with no name on the frame. |
+ // (note that uniqueName is immutable after first real commit). |
localFrame->setName(""); |
WebString uniqueName2 = localFrame->uniqueName(); |
- EXPECT_EQ("<!--framePath //<!--frame2-->-->", uniqueName2.utf8()); |
+ EXPECT_EQ("frame1", uniqueName2.utf8()); |
FrameTestHelpers::TestWebRemoteFrameClient remoteFrameClient2; |
WebRemoteFrameImpl* remoteFrame2 = WebRemoteFrameImpl::create(WebTreeScopeType::Document, &remoteFrameClient2); |