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

Unified Diff: LayoutTests/http/tests/security/xss-DENIED-method-with-iframe-proto.html

Issue 91383002: Switch V8WindowCustom to the new-style ExceptionState (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Expectations. Created 7 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: LayoutTests/http/tests/security/xss-DENIED-method-with-iframe-proto.html
diff --git a/LayoutTests/http/tests/security/xss-DENIED-method-with-iframe-proto.html b/LayoutTests/http/tests/security/xss-DENIED-method-with-iframe-proto.html
index 243f5bccd651b46536b76a954c369db0fbd36ba5..0886e7d7eebb801881c4b4f967f3820f8c2fe87c 100644
--- a/LayoutTests/http/tests/security/xss-DENIED-method-with-iframe-proto.html
+++ b/LayoutTests/http/tests/security/xss-DENIED-method-with-iframe-proto.html
@@ -29,7 +29,7 @@
shouldThrow('targetWindow.setTimeout(callback, 0, this);', '"SecurityError: Blocked a frame with origin \\"http://127.0.0.1:8000\\" from accessing a cross-origin frame."');
shouldThrow('setTimeout.call(targetWindow, callback, 0, this);', '"SecurityError: Blocked a frame with origin \\"http://127.0.0.1:8000\\" from accessing a cross-origin frame."');
- shouldThrow('originalSetTimeout.call(targetWindow, callback, 0, this);', '"SecurityError: Blocked a frame with origin \\"http://127.0.0.1:8000\\" from accessing a cross-origin frame."');
+ shouldThrow('originalSetTimeout.call(targetWindow, callback, 0, this);', '"SecurityError: Failed to execute \'setTimeout\' on \'Window\': Blocked a frame with origin \\"http://127.0.0.1:8000\\" from accessing a cross-origin frame."');
originalSetTimeout(check, 10);
}

Powered by Google App Engine
This is Rietveld 408576698