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

Side by Side Diff: LayoutTests/http/tests/navigation/image-load-in-subframe-unload-handler.html

Issue 196523007: Revert of id of iframe incorrectly sets window name (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <body> 2 <body>
3 <script> 3 <script>
4 if (window.testRunner) { 4 if (window.testRunner) {
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 testRunner.waitUntilDone(); 6 testRunner.waitUntilDone();
7 } 7 }
8 8
9 function test() { 9 function test() {
10 document.getElementsByTagName("body")[0].removeChild(document.getElement ById("target")); 10 document.getElementsByTagName("body")[0].removeChild(document.getElement ById("target"));
11 } 11 }
12 12
13 function finish() { 13 function finish() {
14 setTimeout(function() { 14 setTimeout(function() {
15 if (window.testRunner) 15 if (window.testRunner)
16 testRunner.notifyDone(); 16 testRunner.notifyDone();
17 }, 300); 17 }, 300);
18 } 18 }
19 </script> 19 </script>
20 <iframe id="target" name="target" src="resources/image-load-in-subframe-unload-h andler-helper.html"></iframe> 20 <iframe id="target" src="resources/image-load-in-subframe-unload-handler-helper. html"></iframe>
21 This test triggers an unload handler that starts an image load in a different fr ame (and deletes both frames), but ensures the main frame is not destroyed. We p ass if we don't crash. 21 This test triggers an unload handler that starts an image load in a different fr ame (and deletes both frames), but ensures the main frame is not destroyed. We p ass if we don't crash.
22 </body> 22 </body>
23 </html> 23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698