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

Side by Side Diff: LayoutTests/fast/frames/unload-reparent-sibling-frame.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <script src="../../resources/js-test.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 4
5 <div id="container"> 5 <div id="container">
6 <div id="inside"> 6 <div id="inside">
7 <iframe id="frame1" name="frame1" srcdoc="frame1"></iframe> 7 <iframe id="frame1" srcdoc="frame1"></iframe>
8 <iframe id="frame2" name="frame2" srcdoc="frame2"></iframe> 8 <iframe id="frame2" srcdoc="frame2"></iframe>
9 </div> 9 </div>
10 </div> 10 </div>
11 11
12 <script> 12 <script>
13 description('Reparented sibling frames from unload handlers should load.'); 13 description('Reparented sibling frames from unload handlers should load.');
14 14
15 var jsTestIsAsync = true; 15 var jsTestIsAsync = true;
16 var count = 2; 16 var count = 2;
17 var container = document.getElementById('container'); 17 var container = document.getElementById('container');
18 var inside = document.getElementById('inside'); 18 var inside = document.getElementById('inside');
(...skipping 24 matching lines...) Expand all
43 frame1.contentWindow.onunload = function() { 43 frame1.contentWindow.onunload = function() {
44 frame1.onload = runTest; 44 frame1.onload = runTest;
45 frame2.onload = runTest; 45 frame2.onload = runTest;
46 document.body.appendChild(inside); 46 document.body.appendChild(inside);
47 }; 47 };
48 48
49 container.parentNode.removeChild(container); 49 container.parentNode.removeChild(container);
50 }; 50 };
51 </script> 51 </script>
52 52
OLDNEW
« no previous file with comments | « LayoutTests/fast/frames/sandboxed-iframe-plugins.html ('k') | LayoutTests/fast/history/form-submit-in-frame.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698