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

Side by Side Diff: LayoutTests/fast/events/popup-blocked-from-untrusted-click-event-on-anchor.html

Issue 6478032: Merge 77329 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 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
« no previous file with comments | « no previous file | LayoutTests/fast/events/popup-blocked-from-untrusted-click-event-on-anchor-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <link rel="stylesheet" href="../js/resources/js-test-style.css"> 3 <link rel="stylesheet" href="../js/resources/js-test-style.css">
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <a id=test href="javascript:popup()">test</a> 7 <a id=test href="javascript:popup()">test</a>
8 <div id="console"></div> 8 <div id="console"></div>
9 <script> 9 <script>
10 var win; 10 var win;
(...skipping 12 matching lines...) Expand all
23 23
24 clickEvent = document.createEvent("MouseEvents"); 24 clickEvent = document.createEvent("MouseEvents");
25 clickEvent.initEvent("click", true, true, document.defaultView, 0, 0 , 0, 0, 0, false, false, false, false, 0, null); 25 clickEvent.initEvent("click", true, true, document.defaultView, 0, 0 , 0, 0, 0, false, false, false, false, 0, null);
26 document.getElementById("test").dispatchEvent(clickEvent); 26 document.getElementById("test").dispatchEvent(clickEvent);
27 27
28 if (window.layoutTestController) 28 if (window.layoutTestController)
29 layoutTestController.notifyDone(); 29 layoutTestController.notifyDone();
30 </script> 30 </script>
31 </body> 31 </body>
32 </html> 32 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/events/popup-blocked-from-untrusted-click-event-on-anchor-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698