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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/parser/tokenizer-close-during-document-write.html

Issue 1611523002: Require the entry document to have the same origin as the open()d document (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 <body onload="test()"> 1 <body onload="test()">
2 <p>Test for <a href='https://bugs.webkit.org/show_bug.cgi?id=39008'>bug 39008</a >: 2 <p>Test for <a href='https://bugs.webkit.org/show_bug.cgi?id=39008'>bug 39008</a >:
3 Webkit crashes on clicking back button when in hotmail.</p> 3 Webkit crashes on clicking back button when in hotmail.</p>
4 <div id="result">Running...</div> 4 <div id="result">Running...</div>
5 <iframe src="data:text/html,"></iframe> 5 <iframe></iframe>
6 <script> 6 <script>
7 if (window.testRunner) 7 if (window.testRunner)
8 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
9 9
10 function test() 10 function test()
11 { 11 {
12 frames[0].document.write("<script>document.close()</scr" + "ipt>"); 12 frames[0].document.write("<script>document.close()</scr" + "ipt>");
13 document.getElementById('result').innerHTML = "SUCCESS: didn't crash"; 13 document.getElementById('result').innerHTML = "SUCCESS: didn't crash";
14 } 14 }
15 </script> 15 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698