| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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('PageTransitionEvent') instanceof window.PageTransitio
nEvent is true | 69 PASS document.createEvent('PageTransitionEvent') instanceof window.PageTransitio
nEvent is true |
| 70 PASS document.createEvent('PageTransitionEvent') instanceof window.Event is true | 70 PASS document.createEvent('PageTransitionEvent') instanceof window.Event is true |
| 71 PASS document.createEvent('PageTransitionEvent').constructor === window.PageTran
sitionEvent is true | 71 PASS document.createEvent('PageTransitionEvent').constructor === window.PageTran
sitionEvent is true |
| 72 PASS document.createEvent('PopStateEvent') instanceof window.PopStateEvent is tr
ue | 72 PASS document.createEvent('PopStateEvent') instanceof window.PopStateEvent is tr
ue |
| 73 PASS document.createEvent('PopStateEvent') instanceof window.Event is true | 73 PASS document.createEvent('PopStateEvent') instanceof window.Event is true |
| 74 PASS document.createEvent('PopStateEvent').constructor === window.PopStateEvent
is true | 74 PASS document.createEvent('PopStateEvent').constructor === window.PopStateEvent
is true |
| 75 PASS document.createEvent('ProgressEvent') instanceof window.ProgressEvent is tr
ue | |
| 76 PASS document.createEvent('ProgressEvent') instanceof window.Event is true | |
| 77 PASS document.createEvent('ProgressEvent').constructor === window.ProgressEvent
is true | |
| 78 PASS document.createEvent('TextEvent') instanceof window.TextEvent is true | 75 PASS document.createEvent('TextEvent') instanceof window.TextEvent is true |
| 79 PASS document.createEvent('TextEvent') instanceof window.UIEvent is true | 76 PASS document.createEvent('TextEvent') instanceof window.UIEvent is true |
| 80 PASS document.createEvent('TextEvent') instanceof window.Event is true | 77 PASS document.createEvent('TextEvent') instanceof window.Event is true |
| 81 PASS document.createEvent('TextEvent').constructor === window.TextEvent is true | 78 PASS document.createEvent('TextEvent').constructor === window.TextEvent is true |
| 82 PASS document.createEvent('UIEvent') instanceof window.UIEvent is true | 79 PASS document.createEvent('UIEvent') instanceof window.UIEvent is true |
| 83 PASS document.createEvent('UIEvent') instanceof window.Event is true | 80 PASS document.createEvent('UIEvent') instanceof window.Event is true |
| 84 PASS document.createEvent('UIEvent').constructor === window.UIEvent is true | 81 PASS document.createEvent('UIEvent').constructor === window.UIEvent is true |
| 85 PASS document.createEvent('UIEvENt') instanceof window.UIEvent is true | 82 PASS document.createEvent('UIEvENt') instanceof window.UIEvent is true |
| 86 PASS document.createEvent('UIEvENt') instanceof window.Event is true | 83 PASS document.createEvent('UIEvENt') instanceof window.Event is true |
| 87 PASS document.createEvent('UIEvENt').constructor === window.UIEvent is true | 84 PASS document.createEvent('UIEvENt').constructor === window.UIEvent is true |
| (...skipping 26 matching lines...) Expand all Loading... |
| 114 PASS document.createEvent('CloseEvent') instanceof window.Event is true | 111 PASS document.createEvent('CloseEvent') instanceof window.Event is true |
| 115 PASS document.createEvent('CloseEvent').constructor === window.CloseEvent is tru
e | 112 PASS document.createEvent('CloseEvent').constructor === window.CloseEvent is tru
e |
| 116 PASS document.createEvent('TouchEvent') instanceof window.TouchEvent is true | 113 PASS document.createEvent('TouchEvent') instanceof window.TouchEvent is true |
| 117 PASS document.createEvent('TouchEvent') instanceof window.Event is true | 114 PASS document.createEvent('TouchEvent') instanceof window.Event is true |
| 118 PASS document.createEvent('TouchEvent').constructor === window.TouchEvent is tru
e | 115 PASS document.createEvent('TouchEvent').constructor === window.TouchEvent is tru
e |
| 119 PASS allEventInterfacesCreateEvents is true | 116 PASS allEventInterfacesCreateEvents is true |
| 120 PASS successfullyParsed is true | 117 PASS successfullyParsed is true |
| 121 | 118 |
| 122 TEST COMPLETE | 119 TEST COMPLETE |
| 123 | 120 |
| OLD | NEW |