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

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

Issue 2713413002: Blink bindings: use v8 to enforce method call access checks (Closed)
Patch Set: . Created 3 years, 10 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
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 43d8de1d7e237b6c931f5197b4fd41231ea71ad9..d213adfacd4bb04024d9f34e3f0d9e0c224cb775 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -8816,9 +8816,8 @@ TEST_F(WebFrameSwapTest, SetTimeoutAfterSwap) {
"} catch (e) { e; }"));
ASSERT_TRUE(!exception.IsEmpty());
EXPECT_EQ(
- "SecurityError: Failed to execute 'setTimeout' on 'Window': Blocked a "
- "frame with origin \"http://internal.test\" from accessing a "
- "cross-origin frame.",
+ "SecurityError: Blocked a frame with origin \"http://internal.test\" "
+ "from accessing a cross-origin frame.",
toCoreString(exception
->ToString(ScriptState::forMainWorld(
webView()->mainFrameImpl()->frame())

Powered by Google App Engine
This is Rietveld 408576698