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

Unified Diff: LayoutTests/fast/frames/sandboxed-iframe-history-denied.html

Issue 19932002: Throw exceptions on all failed cross-origin access checks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test. Created 7 years, 5 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
« no previous file with comments | « no previous file | LayoutTests/fast/frames/sandboxed-iframe-history-denied-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/frames/sandboxed-iframe-history-denied.html
diff --git a/LayoutTests/fast/frames/sandboxed-iframe-history-denied.html b/LayoutTests/fast/frames/sandboxed-iframe-history-denied.html
index 7a67c791874ad4dd0d2fa3fccf65885a75b9f960..5f12cf40d087587dedcf62941a462226d3113c6b 100644
--- a/LayoutTests/fast/frames/sandboxed-iframe-history-denied.html
+++ b/LayoutTests/fast/frames/sandboxed-iframe-history-denied.html
@@ -14,7 +14,7 @@ function loaded() {
</head>
<body>
<p>This test verifies that a sandboxed IFrame cannot access the history object of the top-level frame.
- It passes if a console error is present, noting that the inner frame cannot access the outer.</p>
+ It passes if an uncaught exception is present, noting that the inner frame cannot access the outer.</p>
<iframe sandbox="allow-scripts" src="data:text/html,<script>top.history</script>" onload="loaded()">
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/fast/frames/sandboxed-iframe-history-denied-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698