| Index: Source/web/tests/WebFrameTest.cpp
|
| diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
|
| index cbc90a1501f49881ce6ad2a3ec03a052f44c6646..95b162baef4d5aaae1f8586918476aa32c3e2cb1 100644
|
| --- a/Source/web/tests/WebFrameTest.cpp
|
| +++ b/Source/web/tests/WebFrameTest.cpp
|
| @@ -7633,7 +7633,7 @@
|
| popupView->mainFrame()->executeScript(WebScriptSource("opener.frames[1].location.href='data:text/html,foo'"));
|
| EXPECT_TRUE(webFrameClient.messages.empty());
|
| ASSERT_EQ(1u, popupWebFrameClient.messages.size());
|
| - EXPECT_TRUE(std::string::npos != popupWebFrameClient.messages[0].text.utf8().find("Uncaught SecurityError: Blocked a frame with origin"));
|
| + EXPECT_TRUE(std::string::npos != popupWebFrameClient.messages[0].text.utf8().find("Unsafe JavaScript attempt to initiate navigation"));
|
|
|
| // Try setting a cross-origin iframe element's source to a javascript: URL,
|
| // and check that this error is also printed on the calling window.
|
|
|