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

Side by Side Diff: LayoutTests/animations/animation-events-prefixed-04.html

Issue 1300093003: [bindings] Make all CustomEvent.initCustomEvent arguments non-optional and remove custom binding. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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/animations/animation-events-unprefixed-04.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Tests that custom events with prefixed animations names are correctly d ispatched.</title> 4 <title>Tests that custom events with prefixed animations names are correctly d ispatched.</title>
5 <script> 5 <script>
6 if (window.testRunner) { 6 if (window.testRunner) {
7 testRunner.dumpAsText(); 7 testRunner.dumpAsText();
8 testRunner.waitUntilDone(); 8 testRunner.waitUntilDone();
9 } 9 }
10 10
(...skipping 26 matching lines...) Expand all
37 }, false); 37 }, false);
38 38
39 </script> 39 </script>
40 </head> 40 </head>
41 <body> 41 <body>
42 Tests that custom events with prefixed animations names are correctly dispatched . 42 Tests that custom events with prefixed animations names are correctly dispatched .
43 <pre id="result"></pre> 43 <pre id="result"></pre>
44 </body> 44 </body>
45 <script> 45 <script>
46 var custom = document.createEvent('CustomEvent'); 46 var custom = document.createEvent('CustomEvent');
47 custom.initCustomEvent('webkitAnimationStart', true, true); 47 custom.initCustomEvent('webkitAnimationStart', true, true, null);
48 document.dispatchEvent(custom); 48 document.dispatchEvent(custom);
49 custom = document.createEvent('CustomEvent'); 49 custom = document.createEvent('CustomEvent');
50 custom.initCustomEvent('webkitAnimationIteration', true, true); 50 custom.initCustomEvent('webkitAnimationIteration', true, true, null);
51 document.dispatchEvent(custom); 51 document.dispatchEvent(custom);
52 custom = document.createEvent('CustomEvent'); 52 custom = document.createEvent('CustomEvent');
53 custom.initCustomEvent('webkitAnimationEnd', true, true); 53 custom.initCustomEvent('webkitAnimationEnd', true, true, null);
54 document.dispatchEvent(custom); 54 document.dispatchEvent(custom);
55 </script> 55 </script>
56 </html> 56 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/animations/animation-events-unprefixed-04.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698