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

Unified Diff: LayoutTests/animations/animation-events-unprefixed-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/animations/animation-events-unprefixed-04.html
diff --git a/LayoutTests/animations/animation-events-unprefixed-04.html b/LayoutTests/animations/animation-events-unprefixed-04.html
index 09e9136ae132cf8e4a079fa68dea87d63c8135f1..9f858604b6060ac67c9f554f328fa3f8da1c1d52 100644
--- a/LayoutTests/animations/animation-events-unprefixed-04.html
+++ b/LayoutTests/animations/animation-events-unprefixed-04.html
@@ -44,13 +44,13 @@ Tests that custom events with unprefixed animations names are correctly dispatch
</body>
<script>
var custom = document.createEvent('CustomEvent');
- custom.initCustomEvent('animationstart', true, true);
+ custom.initCustomEvent('animationstart', true, true, null);
document.dispatchEvent(custom);
custom = document.createEvent('CustomEvent');
- custom.initCustomEvent('animationiteration', true, true);
+ custom.initCustomEvent('animationiteration', true, true, null);
document.dispatchEvent(custom);
custom = document.createEvent('CustomEvent');
- custom.initCustomEvent('animationend', true, true);
+ custom.initCustomEvent('animationend', true, true, null);
document.dispatchEvent(custom);
</script>
</html>

Powered by Google App Engine
This is Rietveld 408576698