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

Unified Diff: LayoutTests/http/tests/security/xss-DENIED-htmlelelment-with-iframe-proto.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
Index: LayoutTests/http/tests/security/xss-DENIED-htmlelelment-with-iframe-proto.html
diff --git a/LayoutTests/http/tests/security/xss-DENIED-htmlelelment-with-iframe-proto.html b/LayoutTests/http/tests/security/xss-DENIED-htmlelelment-with-iframe-proto.html
index c78758cba39298089655b94df1f4fc20a14226d8..e8443a8ad44403940eb32d76a2913fa2d89419d6 100644
--- a/LayoutTests/http/tests/security/xss-DENIED-htmlelelment-with-iframe-proto.html
+++ b/LayoutTests/http/tests/security/xss-DENIED-htmlelelment-with-iframe-proto.html
@@ -16,7 +16,7 @@ targetWindow = frames[0];
window.onload = function() {
__proto__ = targetWindow;
- shouldBeUndefined('targetWindow.myinput');
+ shouldThrowException('targetWindow.myinput');
}
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698