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

Side by Side Diff: LayoutTests/fast/dom/shadow/event-path-with-dom-mutation.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 <script src="resources/shadow-dom.js"></script> 5 <script src="resources/shadow-dom.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <p id="description"></p> 8 <p id="description"></p>
9 <div id="sandbox"></div> 9 <div id="sandbox"></div>
10 <pre id="console"></pre> 10 <pre id="console"></pre>
(...skipping 27 matching lines...) Expand all
38 getNodeInTreeOfTrees(path).addEventListener('click', function(event) { 38 getNodeInTreeOfTrees(path).addEventListener('click', function(event) {
39 debug('\nRemoving node ' + dumpNode(event.currentTarget.firstChild)); 39 debug('\nRemoving node ' + dumpNode(event.currentTarget.firstChild));
40 event.currentTarget.removeChild(event.currentTarget.firstChild); 40 event.currentTarget.removeChild(event.currentTarget.firstChild);
41 }); 41 });
42 }); 42 });
43 43
44 var clickEvent = document.createEvent("MouseEvents"); 44 var clickEvent = document.createEvent("MouseEvents");
45 clickEvent.initMouseEvent('click', true, false, window, 0, 0, 0, 0, 0, false, fa lse, false, false, 0, null); 45 clickEvent.initMouseEvent('click', true, false, window, 0, 0, 0, 0, 0, false, fa lse, false, false, 0, null);
46 document.getElementById('C').dispatchEvent(clickEvent); 46 document.getElementById('C').dispatchEvent(clickEvent);
47 </script> 47 </script>
48 <script src="../../js/resources/js-test-post.js"></script>
49 </body> 48 </body>
50 </html> 49 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698