OLD | NEW |
1 This tests that document.createEvent is hooked up for all Event interfaces (and
alternatives) and creates the right instance. | 1 This tests that document.createEvent is hooked up for all Event interfaces (and
alternatives) and creates the right instance. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS document.createEvent('AnimationEvent') instanceof window.AnimationEvent is
true | 6 PASS document.createEvent('AnimationEvent') instanceof window.AnimationEvent is
true |
7 PASS document.createEvent('AnimationEvent') instanceof window.Event is true | 7 PASS document.createEvent('AnimationEvent') instanceof window.Event is true |
8 PASS document.createEvent('AnimationEvent').constructor === window.AnimationEven
t is true | 8 PASS document.createEvent('AnimationEvent').constructor === window.AnimationEven
t is true |
9 PASS document.createEvent('Event') instanceof window.Event is true | 9 PASS document.createEvent('Event') instanceof window.Event is true |
10 PASS document.createEvent('Event').constructor === window.Event is true | 10 PASS document.createEvent('Event').constructor === window.Event is true |
11 PASS document.createEvent('Events') instanceof window.Event is true | 11 PASS document.createEvent('Events') instanceof window.Event is true |
12 PASS document.createEvent('Events').constructor === window.Event is true | 12 PASS document.createEvent('Events').constructor === window.Event is true |
13 PASS document.createEvent('HTMLEvents') instanceof window.Event is true | 13 PASS document.createEvent('HTMLEvents') instanceof window.Event is true |
14 PASS document.createEvent('HTMLEvents').constructor === window.Event is true | 14 PASS document.createEvent('HTMLEvents').constructor === window.Event is true |
15 PASS document.createEvent('BeforeLoadEvent') instanceof window.BeforeLoadEvent i
s true | |
16 PASS document.createEvent('BeforeLoadEvent') instanceof window.Event is true | |
17 PASS document.createEvent('BeforeLoadEvent').constructor === window.BeforeLoadEv
ent is true | |
18 PASS document.createEvent('CompositionEvent') instanceof window.CompositionEvent
is true | 15 PASS document.createEvent('CompositionEvent') instanceof window.CompositionEvent
is true |
19 PASS document.createEvent('CompositionEvent') instanceof window.Event is true | 16 PASS document.createEvent('CompositionEvent') instanceof window.Event is true |
20 PASS document.createEvent('CompositionEvent').constructor === window.Composition
Event is true | 17 PASS document.createEvent('CompositionEvent').constructor === window.Composition
Event is true |
21 PASS document.createEvent('CustomEvent') instanceof window.CustomEvent is true | 18 PASS document.createEvent('CustomEvent') instanceof window.CustomEvent is true |
22 PASS document.createEvent('CustomEvent') instanceof window.Event is true | 19 PASS document.createEvent('CustomEvent') instanceof window.Event is true |
23 PASS document.createEvent('CustomEvent').constructor === window.CustomEvent is t
rue | 20 PASS document.createEvent('CustomEvent').constructor === window.CustomEvent is t
rue |
24 PASS document.createEvent('ErrorEvent') instanceof window.ErrorEvent is true | 21 PASS document.createEvent('ErrorEvent') instanceof window.ErrorEvent is true |
25 PASS document.createEvent('ErrorEvent') instanceof window.Event is true | 22 PASS document.createEvent('ErrorEvent') instanceof window.Event is true |
26 PASS document.createEvent('ErrorEvent').constructor === window.ErrorEvent is tru
e | 23 PASS document.createEvent('ErrorEvent').constructor === window.ErrorEvent is tru
e |
27 PASS document.createEvent('HashChangeEvent') instanceof window.HashChangeEvent i
s true | 24 PASS document.createEvent('HashChangeEvent') instanceof window.HashChangeEvent i
s true |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 PASS document.createEvent('TouchEvent') instanceof window.Event is true | 107 PASS document.createEvent('TouchEvent') instanceof window.Event is true |
111 PASS document.createEvent('TouchEvent').constructor === window.TouchEvent is tru
e | 108 PASS document.createEvent('TouchEvent').constructor === window.TouchEvent is tru
e |
112 PASS document.createEvent('AutocompleteErrorEvent') instanceof window.Autocomple
teErrorEvent is true | 109 PASS document.createEvent('AutocompleteErrorEvent') instanceof window.Autocomple
teErrorEvent is true |
113 PASS document.createEvent('AutocompleteErrorEvent') instanceof window.Event is t
rue | 110 PASS document.createEvent('AutocompleteErrorEvent') instanceof window.Event is t
rue |
114 PASS document.createEvent('AutocompleteErrorEvent').constructor === window.Autoc
ompleteErrorEvent is true | 111 PASS document.createEvent('AutocompleteErrorEvent').constructor === window.Autoc
ompleteErrorEvent is true |
115 PASS allEventInterfacesCreateEvents is true | 112 PASS allEventInterfacesCreateEvents is true |
116 PASS successfullyParsed is true | 113 PASS successfullyParsed is true |
117 | 114 |
118 TEST COMPLETE | 115 TEST COMPLETE |
119 | 116 |
OLD | NEW |