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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/dom/nodes/Document-createEvent-expected.txt

Issue 2677793003: Don't initialize event when calling create() with no argument (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 PASS AnimationEvent should be an alias for AnimationEvent. 2 PASS AnimationEvent should be an alias for AnimationEvent.
3 PASS createEvent('AnimationEvent') should be initialized correctly. 3 PASS createEvent('AnimationEvent') should be initialized correctly.
4 FAIL animationevent should be an alias for AnimationEvent. Failed to execute 'cr eateEvent' on 'Document': The provided event type ('animationevent') is invalid. 4 FAIL animationevent should be an alias for AnimationEvent. Failed to execute 'cr eateEvent' on 'Document': The provided event type ('animationevent') is invalid.
5 FAIL createEvent('animationevent') should be initialized correctly. Cannot read property 'type' of undefined 5 FAIL createEvent('animationevent') should be initialized correctly. Cannot read property 'type' of undefined
6 FAIL ANIMATIONEVENT should be an alias for AnimationEvent. Failed to execute 'cr eateEvent' on 'Document': The provided event type ('ANIMATIONEVENT') is invalid. 6 FAIL ANIMATIONEVENT should be an alias for AnimationEvent. Failed to execute 'cr eateEvent' on 'Document': The provided event type ('ANIMATIONEVENT') is invalid.
7 FAIL createEvent('ANIMATIONEVENT') should be initialized correctly. Cannot read property 'type' of undefined 7 FAIL createEvent('ANIMATIONEVENT') should be initialized correctly. Cannot read property 'type' of undefined
8 PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "Anima tionEvents" 8 PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "Anima tionEvents"
9 PASS BeforeUnloadEvent should be an alias for BeforeUnloadEvent. 9 PASS BeforeUnloadEvent should be an alias for BeforeUnloadEvent.
10 FAIL createEvent('BeforeUnloadEvent') should be initialized correctly. assert_eq uals: type should be initialized to the empty string expected "" but got "before unload" 10 PASS createEvent('BeforeUnloadEvent') should be initialized correctly.
11 FAIL beforeunloadevent should be an alias for BeforeUnloadEvent. Failed to execu te 'createEvent' on 'Document': The provided event type ('beforeunloadevent') is invalid. 11 FAIL beforeunloadevent should be an alias for BeforeUnloadEvent. Failed to execu te 'createEvent' on 'Document': The provided event type ('beforeunloadevent') is invalid.
12 FAIL createEvent('beforeunloadevent') should be initialized correctly. Cannot re ad property 'type' of undefined 12 FAIL createEvent('beforeunloadevent') should be initialized correctly. Cannot re ad property 'type' of undefined
13 FAIL BEFOREUNLOADEVENT should be an alias for BeforeUnloadEvent. Failed to execu te 'createEvent' on 'Document': The provided event type ('BEFOREUNLOADEVENT') is invalid. 13 FAIL BEFOREUNLOADEVENT should be an alias for BeforeUnloadEvent. Failed to execu te 'createEvent' on 'Document': The provided event type ('BEFOREUNLOADEVENT') is invalid.
14 FAIL createEvent('BEFOREUNLOADEVENT') should be initialized correctly. Cannot re ad property 'type' of undefined 14 FAIL createEvent('BEFOREUNLOADEVENT') should be initialized correctly. Cannot re ad property 'type' of undefined
15 PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "Befor eUnloadEvents" 15 PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "Befor eUnloadEvents"
16 PASS CloseEvent should be an alias for CloseEvent. 16 PASS CloseEvent should be an alias for CloseEvent.
17 FAIL createEvent('CloseEvent') should be initialized correctly. assert_equals: t ype should be initialized to the empty string expected "" but got "close" 17 FAIL createEvent('CloseEvent') should be initialized correctly. assert_equals: i sTrusted should be initialized to false expected (boolean) false but got (undefi ned) undefined
18 FAIL closeevent should be an alias for CloseEvent. Failed to execute 'createEven t' on 'Document': The provided event type ('closeevent') is invalid. 18 FAIL closeevent should be an alias for CloseEvent. Failed to execute 'createEven t' on 'Document': The provided event type ('closeevent') is invalid.
19 FAIL createEvent('closeevent') should be initialized correctly. Cannot read prop erty 'type' of undefined 19 FAIL createEvent('closeevent') should be initialized correctly. Cannot read prop erty 'type' of undefined
20 FAIL CLOSEEVENT should be an alias for CloseEvent. Failed to execute 'createEven t' on 'Document': The provided event type ('CLOSEEVENT') is invalid. 20 FAIL CLOSEEVENT should be an alias for CloseEvent. Failed to execute 'createEven t' on 'Document': The provided event type ('CLOSEEVENT') is invalid.
21 FAIL createEvent('CLOSEEVENT') should be initialized correctly. Cannot read prop erty 'type' of undefined 21 FAIL createEvent('CLOSEEVENT') should be initialized correctly. Cannot read prop erty 'type' of undefined
22 PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "Close Events" 22 PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "Close Events"
23 PASS CompositionEvent should be an alias for CompositionEvent. 23 PASS CompositionEvent should be an alias for CompositionEvent.
24 PASS createEvent('CompositionEvent') should be initialized correctly. 24 PASS createEvent('CompositionEvent') should be initialized correctly.
25 FAIL compositionevent should be an alias for CompositionEvent. Failed to execute 'createEvent' on 'Document': The provided event type ('compositionevent') is in valid. 25 FAIL compositionevent should be an alias for CompositionEvent. Failed to execute 'createEvent' on 'Document': The provided event type ('compositionevent') is in valid.
26 FAIL createEvent('compositionevent') should be initialized correctly. Cannot rea d property 'type' of undefined 26 FAIL createEvent('compositionevent') should be initialized correctly. Cannot rea d property 'type' of undefined
27 FAIL COMPOSITIONEVENT should be an alias for CompositionEvent. Failed to execute 'createEvent' on 'Document': The provided event type ('COMPOSITIONEVENT') is in valid. 27 FAIL COMPOSITIONEVENT should be an alias for CompositionEvent. Failed to execute 'createEvent' on 'Document': The provided event type ('COMPOSITIONEVENT') is in valid.
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 PASS MOUSEEVENTS should be an alias for MouseEvent. 130 PASS MOUSEEVENTS should be an alias for MouseEvent.
131 PASS createEvent('MOUSEEVENTS') should be initialized correctly. 131 PASS createEvent('MOUSEEVENTS') should be initialized correctly.
132 PASS PageTransitionEvent should be an alias for PageTransitionEvent. 132 PASS PageTransitionEvent should be an alias for PageTransitionEvent.
133 PASS createEvent('PageTransitionEvent') should be initialized correctly. 133 PASS createEvent('PageTransitionEvent') should be initialized correctly.
134 FAIL pagetransitionevent should be an alias for PageTransitionEvent. Failed to e xecute 'createEvent' on 'Document': The provided event type ('pagetransitioneven t') is invalid. 134 FAIL pagetransitionevent should be an alias for PageTransitionEvent. Failed to e xecute 'createEvent' on 'Document': The provided event type ('pagetransitioneven t') is invalid.
135 FAIL createEvent('pagetransitionevent') should be initialized correctly. Cannot read property 'type' of undefined 135 FAIL createEvent('pagetransitionevent') should be initialized correctly. Cannot read property 'type' of undefined
136 FAIL PAGETRANSITIONEVENT should be an alias for PageTransitionEvent. Failed to e xecute 'createEvent' on 'Document': The provided event type ('PAGETRANSITIONEVEN T') is invalid. 136 FAIL PAGETRANSITIONEVENT should be an alias for PageTransitionEvent. Failed to e xecute 'createEvent' on 'Document': The provided event type ('PAGETRANSITIONEVEN T') is invalid.
137 FAIL createEvent('PAGETRANSITIONEVENT') should be initialized correctly. Cannot read property 'type' of undefined 137 FAIL createEvent('PAGETRANSITIONEVENT') should be initialized correctly. Cannot read property 'type' of undefined
138 PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "PageT ransitionEvents" 138 PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "PageT ransitionEvents"
139 PASS PopStateEvent should be an alias for PopStateEvent. 139 PASS PopStateEvent should be an alias for PopStateEvent.
140 FAIL createEvent('PopStateEvent') should be initialized correctly. assert_equals : type should be initialized to the empty string expected "" but got "popstate" 140 PASS createEvent('PopStateEvent') should be initialized correctly.
141 FAIL popstateevent should be an alias for PopStateEvent. Failed to execute 'crea teEvent' on 'Document': The provided event type ('popstateevent') is invalid. 141 FAIL popstateevent should be an alias for PopStateEvent. Failed to execute 'crea teEvent' on 'Document': The provided event type ('popstateevent') is invalid.
142 FAIL createEvent('popstateevent') should be initialized correctly. Cannot read p roperty 'type' of undefined 142 FAIL createEvent('popstateevent') should be initialized correctly. Cannot read p roperty 'type' of undefined
143 FAIL POPSTATEEVENT should be an alias for PopStateEvent. Failed to execute 'crea teEvent' on 'Document': The provided event type ('POPSTATEEVENT') is invalid. 143 FAIL POPSTATEEVENT should be an alias for PopStateEvent. Failed to execute 'crea teEvent' on 'Document': The provided event type ('POPSTATEEVENT') is invalid.
144 FAIL createEvent('POPSTATEEVENT') should be initialized correctly. Cannot read p roperty 'type' of undefined 144 FAIL createEvent('POPSTATEEVENT') should be initialized correctly. Cannot read p roperty 'type' of undefined
145 PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "PopSt ateEvents" 145 PASS Should throw NOT_SUPPORTED_ERR for pluralized legacy event interface "PopSt ateEvents"
146 PASS ProgressEvent should be an alias for ProgressEvent. 146 PASS ProgressEvent should be an alias for ProgressEvent.
147 PASS createEvent('ProgressEvent') should be initialized correctly. 147 PASS createEvent('ProgressEvent') should be initialized correctly.
148 FAIL progressevent should be an alias for ProgressEvent. Failed to execute 'crea teEvent' on 'Document': The provided event type ('progressevent') is invalid. 148 FAIL progressevent should be an alias for ProgressEvent. Failed to execute 'crea teEvent' on 'Document': The provided event type ('progressevent') is invalid.
149 FAIL createEvent('progressevent') should be initialized correctly. Cannot read p roperty 'type' of undefined 149 FAIL createEvent('progressevent') should be initialized correctly. Cannot read p roperty 'type' of undefined
150 FAIL PROGRESSEVENT should be an alias for ProgressEvent. Failed to execute 'crea teEvent' on 'Document': The provided event type ('PROGRESSEVENT') is invalid. 150 FAIL PROGRESSEVENT should be an alias for ProgressEvent. Failed to execute 'crea teEvent' on 'Document': The provided event type ('PROGRESSEVENT') is invalid.
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 }" did not throw 340 }" did not throw
341 PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "W ebKitAnimationEvents" 341 PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "W ebKitAnimationEvents"
342 FAIL Should throw NOT_SUPPORTED_ERR for non-legacy event interface "WebKitTransi tionEvent" assert_throws: function "function () { 342 FAIL Should throw NOT_SUPPORTED_ERR for non-legacy event interface "WebKitTransi tionEvent" assert_throws: function "function () {
343 var evt = document.createEvent(eventInterface); 343 var evt = document.createEvent(eventInterface);
344 }" did not throw 344 }" did not throw
345 PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "W ebKitTransitionEvents" 345 PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "W ebKitTransitionEvents"
346 PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "XULCommandEv ent" 346 PASS Should throw NOT_SUPPORTED_ERR for non-legacy event interface "XULCommandEv ent"
347 PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "X ULCommandEvents" 347 PASS Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "X ULCommandEvents"
348 Harness: the test ran to completion. 348 Harness: the test ran to completion.
349 349
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698