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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/eval-blocked-in-about-blank-iframe.html

Issue 806183005: Remove FrameLoader's checkLoadComplete and checkLoadCompleteForThisFrame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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/contentSecurityPolicy/eval-blocked-in-about-blank-iframe.html
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/eval-blocked-in-about-blank-iframe.html b/LayoutTests/http/tests/security/contentSecurityPolicy/eval-blocked-in-about-blank-iframe.html
index 2952a06aaf672307f12c3e4ea702259695d6aa01..71cf7641945363698d7e30dbbeb5eea5eef5fffe 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/eval-blocked-in-about-blank-iframe.html
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/eval-blocked-in-about-blank-iframe.html
@@ -8,5 +8,6 @@ Eval should be blocked in the iframe, but inline script should be allowed.
<script>
window.onload = function() {
frames[0].document.write("<script>alert(/PASS/); eval('alert(/FAIL/);');<\/script>");
+ frames[0].document.close();
}
</script>

Powered by Google App Engine
This is Rietveld 408576698