Index: LayoutTests/fast/events/event-creation.html |
diff --git a/LayoutTests/fast/events/event-creation.html b/LayoutTests/fast/events/event-creation.html |
index 21c26d3b95c8b8807e47f3cb2faa66607757b8c6..67fa2227319ca767406ce88287d9ed2198eee99d 100644 |
--- a/LayoutTests/fast/events/event-creation.html |
+++ b/LayoutTests/fast/events/event-creation.html |
@@ -13,14 +13,20 @@ |
// Event |
shouldBeTrue("document.createEvent('Event') instanceof window.Event"); |
shouldBeTrue("document.createEvent('Event').constructor === window.Event"); |
+ shouldBeTrue("document.createEvent('EvENt') instanceof window.Event"); |
+ shouldBeTrue("document.createEvent('EvENt').constructor === window.Event"); |
// Events (Event alternative) |
shouldBeTrue("document.createEvent('Events') instanceof window.Event"); |
shouldBeTrue("document.createEvent('Events').constructor === window.Event"); |
+ shouldBeTrue("document.createEvent('EvENts') instanceof window.Event"); |
+ shouldBeTrue("document.createEvent('EvENts').constructor === window.Event"); |
// HTMLEvents (Event alternative) |
shouldBeTrue("document.createEvent('HTMLEvents') instanceof window.Event"); |
shouldBeTrue("document.createEvent('HTMLEvents').constructor === window.Event"); |
+ shouldBeTrue("document.createEvent('HTMLEvENts') instanceof window.Event"); |
+ shouldBeTrue("document.createEvent('HTMLEvENts').constructor === window.Event"); |
// CompositionEvent |
shouldBeTrue("document.createEvent('CompositionEvent') instanceof window.CompositionEvent"); |
@@ -31,6 +37,9 @@ |
shouldBeTrue("document.createEvent('CustomEvent') instanceof window.CustomEvent"); |
shouldBeTrue("document.createEvent('CustomEvent') instanceof window.Event"); |
shouldBeTrue("document.createEvent('CustomEvent').constructor === window.CustomEvent"); |
+ shouldBeTrue("document.createEvent('CustomEvENt') instanceof window.CustomEvent"); |
+ shouldBeTrue("document.createEvent('CustomEvENt') instanceof window.Event"); |
+ shouldBeTrue("document.createEvent('CustomEvENt').constructor === window.CustomEvent"); |
// ErrorEvent |
shouldBeTrue("document.createEvent('ErrorEvent') instanceof window.ErrorEvent"); |
@@ -64,12 +73,20 @@ |
shouldBeTrue("document.createEvent('MouseEvent') instanceof window.UIEvent"); |
shouldBeTrue("document.createEvent('MouseEvent') instanceof window.Event"); |
shouldBeTrue("document.createEvent('MouseEvent').constructor === window.MouseEvent"); |
+ shouldBeTrue("document.createEvent('MouseEvENt') instanceof window.MouseEvent"); |
+ shouldBeTrue("document.createEvent('MouseEvENt') instanceof window.UIEvent"); |
+ shouldBeTrue("document.createEvent('MouseEvENt') instanceof window.Event"); |
+ shouldBeTrue("document.createEvent('MouseEvENt').constructor === window.MouseEvent"); |
// MouseEvents (MouseEvent alternative) |
shouldBeTrue("document.createEvent('MouseEvents') instanceof window.MouseEvent"); |
shouldBeTrue("document.createEvent('MouseEvents') instanceof window.UIEvent"); |
shouldBeTrue("document.createEvent('MouseEvents') instanceof window.Event"); |
shouldBeTrue("document.createEvent('MouseEvents').constructor === window.MouseEvent"); |
+ shouldBeTrue("document.createEvent('MouseEvENts') instanceof window.MouseEvent"); |
+ shouldBeTrue("document.createEvent('MouseEvENts') instanceof window.UIEvent"); |
+ shouldBeTrue("document.createEvent('MouseEvENts') instanceof window.Event"); |
+ shouldBeTrue("document.createEvent('MouseEvENts').constructor === window.MouseEvent"); |
// MutationEvent |
shouldBeTrue("document.createEvent('MutationEvent') instanceof window.MutationEvent"); |
@@ -111,11 +128,17 @@ |
shouldBeTrue("document.createEvent('UIEvent') instanceof window.UIEvent"); |
shouldBeTrue("document.createEvent('UIEvent') instanceof window.Event"); |
shouldBeTrue("document.createEvent('UIEvent').constructor === window.UIEvent"); |
+ shouldBeTrue("document.createEvent('UIEvENt') instanceof window.UIEvent"); |
+ shouldBeTrue("document.createEvent('UIEvENt') instanceof window.Event"); |
+ shouldBeTrue("document.createEvent('UIEvENt').constructor === window.UIEvent"); |
// UIEvents (UIEvent alternative) |
shouldBeTrue("document.createEvent('UIEvents') instanceof window.UIEvent"); |
shouldBeTrue("document.createEvent('UIEvents') instanceof window.Event"); |
shouldBeTrue("document.createEvent('UIEvents').constructor === window.UIEvent"); |
+ shouldBeTrue("document.createEvent('UIEvENts') instanceof window.UIEvent"); |
+ shouldBeTrue("document.createEvent('UIEvENts') instanceof window.Event"); |
+ shouldBeTrue("document.createEvent('UIEvENts').constructor === window.UIEvent"); |
// TransitionEvent |
shouldBeTrue("document.createEvent('TransitionEvent') instanceof window.TransitionEvent"); |