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

Side by Side Diff: LayoutTests/fast/loader/resources/unload-hyperlink-targeted-subframe.html

Issue 318523002: Unflake fast/loader/resources/unload-hyperlink-targeted-subframe.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <script> 1 <script>
2 addEventListener("unload", function() { 2 addEventListener("unload", function() {
3 var anc = document.getElementById("lk"); 3 var anc = document.getElementById("lk");
4 var evt = document.createEvent("MouseEvents"); 4 var evt = document.createEvent("MouseEvents");
5 evt.initMouseEvent( 5 evt.initMouseEvent(
6 "click", true, true, window, 1, 0, 0, 0, 0, 6 "click", true, true, window, 1, 0, 0, 0, 0,
7 false, false, false, false, 0, anc); 7 false, false, false, false, 0, anc);
8 anc.dispatchEvent(evt); 8 anc.dispatchEvent(evt);
9 }, false); 9 }, false);
10 </script> 10 </script>
11 <a id="lk" target="_top" 11 <a id="lk" target="_top"
12 href="pass-and-notify-done.html">Link to iframe.</a> 12 href="pass-and-notify-done.html">Link to iframe.</a>
13 <script> 13 <script>
14 window.onload = function() {
14 window.location = "about:blank"; 15 window.location = "about:blank";
16 }
15 </script> 17 </script>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698