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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/events/Event-init-while-dispatching.html

Issue 2015623004: Import wpt@ed94c51f3dfaa5ff4c9c311add1a560408059c51 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <meta charset="utf-8"> 2 <meta charset="utf-8">
3 <title>Re-initializing events while dispatching them</title> 3 <title>Re-initializing events while dispatching them</title>
4 <link rel="author" title="Josh Matthews" href="mailto:josh@joshmatthews.net"> 4 <link rel="author" title="Josh Matthews" href="mailto:josh@joshmatthews.net">
5 <script src="../../../../resources/testharness.js"></script> 5 <script src="../../../../resources/testharness.js"></script>
6 <script src="../../../../resources/testharnessreport.js"></script> 6 <script src="../../../../resources/testharnessreport.js"></script>
7 <div id="log"></div> 7 <div id="log"></div>
8 <script> 8 <script>
9 var events = { 9 var events = {
10 'KeyboardEvent': { 10 'KeyboardEvent': {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 } 74 }
75 events[o.constructor.name].check(e); 75 events[o.constructor.name].check(e);
76 } 76 }
77 }), false); 77 }), false);
78 78
79 assert_equals(target.dispatchEvent(e), true, "dispatchEvent must return true ") 79 assert_equals(target.dispatchEvent(e), true, "dispatchEvent must return true ")
80 }); 80 });
81 t.done(); 81 t.done();
82 } 82 }
83 </script> 83 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698