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 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 PASS document.createEvent('MouseEvENts') instanceof window.MouseEvent is true | 59 PASS document.createEvent('MouseEvENts') instanceof window.MouseEvent is true |
60 PASS document.createEvent('MouseEvENts') instanceof window.UIEvent is true | 60 PASS document.createEvent('MouseEvENts') instanceof window.UIEvent is true |
61 PASS document.createEvent('MouseEvENts') instanceof window.Event is true | 61 PASS document.createEvent('MouseEvENts') instanceof window.Event is true |
62 PASS document.createEvent('MouseEvENts').constructor === window.MouseEvent is tr
ue | 62 PASS document.createEvent('MouseEvENts').constructor === window.MouseEvent is tr
ue |
63 PASS document.createEvent('MutationEvent') instanceof window.MutationEvent is tr
ue | 63 PASS document.createEvent('MutationEvent') instanceof window.MutationEvent is tr
ue |
64 PASS document.createEvent('MutationEvent') instanceof window.Event is true | 64 PASS document.createEvent('MutationEvent') instanceof window.Event is true |
65 PASS document.createEvent('MutationEvent').constructor === window.MutationEvent
is true | 65 PASS document.createEvent('MutationEvent').constructor === window.MutationEvent
is true |
66 PASS document.createEvent('MutationEvents') instanceof window.MutationEvent is t
rue | 66 PASS document.createEvent('MutationEvents') instanceof window.MutationEvent is t
rue |
67 PASS document.createEvent('MutationEvents') instanceof window.Event is true | 67 PASS document.createEvent('MutationEvents') instanceof window.Event is true |
68 PASS document.createEvent('MutationEvents').constructor === window.MutationEvent
is true | 68 PASS document.createEvent('MutationEvents').constructor === window.MutationEvent
is true |
69 PASS document.createEvent('OverflowEvent') instanceof window.OverflowEvent is tr
ue | |
70 PASS document.createEvent('OverflowEvent') instanceof window.Event is true | |
71 PASS document.createEvent('OverflowEvent').constructor === window.OverflowEvent
is true | |
72 PASS document.createEvent('PageTransitionEvent') instanceof window.PageTransitio
nEvent is true | 69 PASS document.createEvent('PageTransitionEvent') instanceof window.PageTransitio
nEvent is true |
73 PASS document.createEvent('PageTransitionEvent') instanceof window.Event is true | 70 PASS document.createEvent('PageTransitionEvent') instanceof window.Event is true |
74 PASS document.createEvent('PageTransitionEvent').constructor === window.PageTran
sitionEvent is true | 71 PASS document.createEvent('PageTransitionEvent').constructor === window.PageTran
sitionEvent is true |
75 PASS document.createEvent('PopStateEvent') instanceof window.PopStateEvent is tr
ue | 72 PASS document.createEvent('PopStateEvent') instanceof window.PopStateEvent is tr
ue |
76 PASS document.createEvent('PopStateEvent') instanceof window.Event is true | 73 PASS document.createEvent('PopStateEvent') instanceof window.Event is true |
77 PASS document.createEvent('PopStateEvent').constructor === window.PopStateEvent
is true | 74 PASS document.createEvent('PopStateEvent').constructor === window.PopStateEvent
is true |
78 PASS document.createEvent('ProgressEvent') instanceof window.ProgressEvent is tr
ue | 75 PASS document.createEvent('ProgressEvent') instanceof window.ProgressEvent is tr
ue |
79 PASS document.createEvent('ProgressEvent') instanceof window.Event is true | 76 PASS document.createEvent('ProgressEvent') instanceof window.Event is true |
80 PASS document.createEvent('ProgressEvent').constructor === window.ProgressEvent
is true | 77 PASS document.createEvent('ProgressEvent').constructor === window.ProgressEvent
is true |
81 PASS document.createEvent('TextEvent') instanceof window.TextEvent is true | 78 PASS document.createEvent('TextEvent') instanceof window.TextEvent is true |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 PASS document.createEvent('TouchEvent') instanceof window.Event is true | 127 PASS document.createEvent('TouchEvent') instanceof window.Event is true |
131 PASS document.createEvent('TouchEvent').constructor === window.TouchEvent is tru
e | 128 PASS document.createEvent('TouchEvent').constructor === window.TouchEvent is tru
e |
132 PASS document.createEvent('AutocompleteErrorEvent') instanceof window.Autocomple
teErrorEvent is true | 129 PASS document.createEvent('AutocompleteErrorEvent') instanceof window.Autocomple
teErrorEvent is true |
133 PASS document.createEvent('AutocompleteErrorEvent') instanceof window.Event is t
rue | 130 PASS document.createEvent('AutocompleteErrorEvent') instanceof window.Event is t
rue |
134 PASS document.createEvent('AutocompleteErrorEvent').constructor === window.Autoc
ompleteErrorEvent is true | 131 PASS document.createEvent('AutocompleteErrorEvent').constructor === window.Autoc
ompleteErrorEvent is true |
135 PASS allEventInterfacesCreateEvents is true | 132 PASS allEventInterfacesCreateEvents is true |
136 PASS successfullyParsed is true | 133 PASS successfullyParsed is true |
137 | 134 |
138 TEST COMPLETE | 135 TEST COMPLETE |
139 | 136 |
OLD | NEW |