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

Unified Diff: LayoutTests/http/tests/security/cross-origin-window-open-exception.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/cross-origin-window-open-exception.html
diff --git a/LayoutTests/http/tests/security/cross-origin-window-open-exception.html b/LayoutTests/http/tests/security/cross-origin-window-open-exception.html
index 32f9d953d219a8ca16d5d8168fe077cae7c5d572..69056f81eab557d86b5ce3947d91cf6d701ae412 100644
--- a/LayoutTests/http/tests/security/cross-origin-window-open-exception.html
+++ b/LayoutTests/http/tests/security/cross-origin-window-open-exception.html
@@ -12,7 +12,7 @@
var frame = document.querySelector('iframe');
window.onload = function () {
shouldThrow("frame.contentWindow.open()", '"SecurityError: Blocked a frame with origin \\"http://127.0.0.1:8000\\" from accessing a cross-origin frame."');
- shouldThrow("frame.contentWindow.opener = 1;", '"SecurityError: Blocked a frame with origin \\"http://127.0.0.1:8000\\" from accessing a cross-origin frame."');
+ shouldThrow("frame.contentWindow.opener = 1;", '"SecurityError: Failed to set the \'opener\' property on \'Window\': Blocked a frame with origin \\"http://127.0.0.1:8000\\" from accessing a cross-origin frame."');
finishJSTest();
};
</script>

Powered by Google App Engine
This is Rietveld 408576698