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

Side by Side Diff: LayoutTests/fast/events/event-creation-expected.txt

Issue 250933005: Make createEvent do case-insensitive matches (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Do not use startsWith for Event(s) Created 6 years, 7 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
« no previous file with comments | « LayoutTests/fast/events/event-creation.html ('k') | Source/build/scripts/make_event_factory.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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('EvENt') instanceof window.Event is true
12 PASS document.createEvent('EvENt').constructor === window.Event is true
11 PASS document.createEvent('Events') instanceof window.Event is true 13 PASS document.createEvent('Events') instanceof window.Event is true
12 PASS document.createEvent('Events').constructor === window.Event is true 14 PASS document.createEvent('Events').constructor === window.Event is true
15 PASS document.createEvent('EvENts') instanceof window.Event is true
16 PASS document.createEvent('EvENts').constructor === window.Event is true
13 PASS document.createEvent('HTMLEvents') instanceof window.Event is true 17 PASS document.createEvent('HTMLEvents') instanceof window.Event is true
14 PASS document.createEvent('HTMLEvents').constructor === window.Event is true 18 PASS document.createEvent('HTMLEvents').constructor === window.Event is true
19 PASS document.createEvent('HTMLEvENts') instanceof window.Event is true
20 PASS document.createEvent('HTMLEvENts').constructor === window.Event is true
15 PASS document.createEvent('CompositionEvent') instanceof window.CompositionEvent is true 21 PASS document.createEvent('CompositionEvent') instanceof window.CompositionEvent is true
16 PASS document.createEvent('CompositionEvent') instanceof window.Event is true 22 PASS document.createEvent('CompositionEvent') instanceof window.Event is true
17 PASS document.createEvent('CompositionEvent').constructor === window.Composition Event is true 23 PASS document.createEvent('CompositionEvent').constructor === window.Composition Event is true
18 PASS document.createEvent('CustomEvent') instanceof window.CustomEvent is true 24 PASS document.createEvent('CustomEvent') instanceof window.CustomEvent is true
19 PASS document.createEvent('CustomEvent') instanceof window.Event is true 25 PASS document.createEvent('CustomEvent') instanceof window.Event is true
20 PASS document.createEvent('CustomEvent').constructor === window.CustomEvent is t rue 26 PASS document.createEvent('CustomEvent').constructor === window.CustomEvent is t rue
27 PASS document.createEvent('CustomEvENt') instanceof window.CustomEvent is true
28 PASS document.createEvent('CustomEvENt') instanceof window.Event is true
29 PASS document.createEvent('CustomEvENt').constructor === window.CustomEvent is t rue
21 PASS document.createEvent('ErrorEvent') instanceof window.ErrorEvent is true 30 PASS document.createEvent('ErrorEvent') instanceof window.ErrorEvent is true
22 PASS document.createEvent('ErrorEvent') instanceof window.Event is true 31 PASS document.createEvent('ErrorEvent') instanceof window.Event is true
23 PASS document.createEvent('ErrorEvent').constructor === window.ErrorEvent is tru e 32 PASS document.createEvent('ErrorEvent').constructor === window.ErrorEvent is tru e
24 PASS document.createEvent('HashChangeEvent') instanceof window.HashChangeEvent i s true 33 PASS document.createEvent('HashChangeEvent') instanceof window.HashChangeEvent i s true
25 PASS document.createEvent('HashChangeEvent') instanceof window.Event is true 34 PASS document.createEvent('HashChangeEvent') instanceof window.Event is true
26 PASS document.createEvent('HashChangeEvent').constructor === window.HashChangeEv ent is true 35 PASS document.createEvent('HashChangeEvent').constructor === window.HashChangeEv ent is true
27 PASS document.createEvent('KeyboardEvent') instanceof window.KeyboardEvent is tr ue 36 PASS document.createEvent('KeyboardEvent') instanceof window.KeyboardEvent is tr ue
28 PASS document.createEvent('KeyboardEvent') instanceof window.UIEvent is true 37 PASS document.createEvent('KeyboardEvent') instanceof window.UIEvent is true
29 PASS document.createEvent('KeyboardEvent') instanceof window.Event is true 38 PASS document.createEvent('KeyboardEvent') instanceof window.Event is true
30 PASS document.createEvent('KeyboardEvent').constructor === window.KeyboardEvent is true 39 PASS document.createEvent('KeyboardEvent').constructor === window.KeyboardEvent is true
31 PASS document.createEvent('KeyboardEvents') instanceof window.KeyboardEvent is t rue 40 PASS document.createEvent('KeyboardEvents') instanceof window.KeyboardEvent is t rue
32 PASS document.createEvent('KeyboardEvents') instanceof window.UIEvent is true 41 PASS document.createEvent('KeyboardEvents') instanceof window.UIEvent is true
33 PASS document.createEvent('KeyboardEvents') instanceof window.Event is true 42 PASS document.createEvent('KeyboardEvents') instanceof window.Event is true
34 PASS document.createEvent('KeyboardEvents').constructor === window.KeyboardEvent is true 43 PASS document.createEvent('KeyboardEvents').constructor === window.KeyboardEvent is true
35 PASS document.createEvent('MessageEvent') instanceof window.MessageEvent is true 44 PASS document.createEvent('MessageEvent') instanceof window.MessageEvent is true
36 PASS document.createEvent('MessageEvent') instanceof window.Event is true 45 PASS document.createEvent('MessageEvent') instanceof window.Event is true
37 PASS document.createEvent('MessageEvent').constructor === window.MessageEvent is true 46 PASS document.createEvent('MessageEvent').constructor === window.MessageEvent is true
38 PASS document.createEvent('MouseEvent') instanceof window.MouseEvent is true 47 PASS document.createEvent('MouseEvent') instanceof window.MouseEvent is true
39 PASS document.createEvent('MouseEvent') instanceof window.UIEvent is true 48 PASS document.createEvent('MouseEvent') instanceof window.UIEvent is true
40 PASS document.createEvent('MouseEvent') instanceof window.Event is true 49 PASS document.createEvent('MouseEvent') instanceof window.Event is true
41 PASS document.createEvent('MouseEvent').constructor === window.MouseEvent is tru e 50 PASS document.createEvent('MouseEvent').constructor === window.MouseEvent is tru e
51 PASS document.createEvent('MouseEvENt') instanceof window.MouseEvent is true
52 PASS document.createEvent('MouseEvENt') instanceof window.UIEvent is true
53 PASS document.createEvent('MouseEvENt') instanceof window.Event is true
54 PASS document.createEvent('MouseEvENt').constructor === window.MouseEvent is tru e
42 PASS document.createEvent('MouseEvents') instanceof window.MouseEvent is true 55 PASS document.createEvent('MouseEvents') instanceof window.MouseEvent is true
43 PASS document.createEvent('MouseEvents') instanceof window.UIEvent is true 56 PASS document.createEvent('MouseEvents') instanceof window.UIEvent is true
44 PASS document.createEvent('MouseEvents') instanceof window.Event is true 57 PASS document.createEvent('MouseEvents') instanceof window.Event is true
45 PASS document.createEvent('MouseEvents').constructor === window.MouseEvent is tr ue 58 PASS document.createEvent('MouseEvents').constructor === window.MouseEvent is tr ue
59 PASS document.createEvent('MouseEvENts') instanceof window.MouseEvent is true
60 PASS document.createEvent('MouseEvENts') instanceof window.UIEvent is true
61 PASS document.createEvent('MouseEvENts') instanceof window.Event is true
62 PASS document.createEvent('MouseEvENts').constructor === window.MouseEvent is tr ue
46 PASS document.createEvent('MutationEvent') instanceof window.MutationEvent is tr ue 63 PASS document.createEvent('MutationEvent') instanceof window.MutationEvent is tr ue
47 PASS document.createEvent('MutationEvent') instanceof window.Event is true 64 PASS document.createEvent('MutationEvent') instanceof window.Event is true
48 PASS document.createEvent('MutationEvent').constructor === window.MutationEvent is true 65 PASS document.createEvent('MutationEvent').constructor === window.MutationEvent is true
49 PASS document.createEvent('MutationEvents') instanceof window.MutationEvent is t rue 66 PASS document.createEvent('MutationEvents') instanceof window.MutationEvent is t rue
50 PASS document.createEvent('MutationEvents') instanceof window.Event is true 67 PASS document.createEvent('MutationEvents') instanceof window.Event is true
51 PASS document.createEvent('MutationEvents').constructor === window.MutationEvent is true 68 PASS document.createEvent('MutationEvents').constructor === window.MutationEvent is true
52 PASS document.createEvent('OverflowEvent') instanceof window.OverflowEvent is tr ue 69 PASS document.createEvent('OverflowEvent') instanceof window.OverflowEvent is tr ue
53 PASS document.createEvent('OverflowEvent') instanceof window.Event is true 70 PASS document.createEvent('OverflowEvent') instanceof window.Event is true
54 PASS document.createEvent('OverflowEvent').constructor === window.OverflowEvent is true 71 PASS document.createEvent('OverflowEvent').constructor === window.OverflowEvent is true
55 PASS document.createEvent('PageTransitionEvent') instanceof window.PageTransitio nEvent is true 72 PASS document.createEvent('PageTransitionEvent') instanceof window.PageTransitio nEvent is true
56 PASS document.createEvent('PageTransitionEvent') instanceof window.Event is true 73 PASS document.createEvent('PageTransitionEvent') instanceof window.Event is true
57 PASS document.createEvent('PageTransitionEvent').constructor === window.PageTran sitionEvent is true 74 PASS document.createEvent('PageTransitionEvent').constructor === window.PageTran sitionEvent is true
58 PASS document.createEvent('PopStateEvent') instanceof window.PopStateEvent is tr ue 75 PASS document.createEvent('PopStateEvent') instanceof window.PopStateEvent is tr ue
59 PASS document.createEvent('PopStateEvent') instanceof window.Event is true 76 PASS document.createEvent('PopStateEvent') instanceof window.Event is true
60 PASS document.createEvent('PopStateEvent').constructor === window.PopStateEvent is true 77 PASS document.createEvent('PopStateEvent').constructor === window.PopStateEvent is true
61 PASS document.createEvent('ProgressEvent') instanceof window.ProgressEvent is tr ue 78 PASS document.createEvent('ProgressEvent') instanceof window.ProgressEvent is tr ue
62 PASS document.createEvent('ProgressEvent') instanceof window.Event is true 79 PASS document.createEvent('ProgressEvent') instanceof window.Event is true
63 PASS document.createEvent('ProgressEvent').constructor === window.ProgressEvent is true 80 PASS document.createEvent('ProgressEvent').constructor === window.ProgressEvent is true
64 PASS document.createEvent('TextEvent') instanceof window.TextEvent is true 81 PASS document.createEvent('TextEvent') instanceof window.TextEvent is true
65 PASS document.createEvent('TextEvent') instanceof window.UIEvent is true 82 PASS document.createEvent('TextEvent') instanceof window.UIEvent is true
66 PASS document.createEvent('TextEvent') instanceof window.Event is true 83 PASS document.createEvent('TextEvent') instanceof window.Event is true
67 PASS document.createEvent('TextEvent').constructor === window.TextEvent is true 84 PASS document.createEvent('TextEvent').constructor === window.TextEvent is true
68 PASS document.createEvent('UIEvent') instanceof window.UIEvent is true 85 PASS document.createEvent('UIEvent') instanceof window.UIEvent is true
69 PASS document.createEvent('UIEvent') instanceof window.Event is true 86 PASS document.createEvent('UIEvent') instanceof window.Event is true
70 PASS document.createEvent('UIEvent').constructor === window.UIEvent is true 87 PASS document.createEvent('UIEvent').constructor === window.UIEvent is true
88 PASS document.createEvent('UIEvENt') instanceof window.UIEvent is true
89 PASS document.createEvent('UIEvENt') instanceof window.Event is true
90 PASS document.createEvent('UIEvENt').constructor === window.UIEvent is true
71 PASS document.createEvent('UIEvents') instanceof window.UIEvent is true 91 PASS document.createEvent('UIEvents') instanceof window.UIEvent is true
72 PASS document.createEvent('UIEvents') instanceof window.Event is true 92 PASS document.createEvent('UIEvents') instanceof window.Event is true
73 PASS document.createEvent('UIEvents').constructor === window.UIEvent is true 93 PASS document.createEvent('UIEvents').constructor === window.UIEvent is true
94 PASS document.createEvent('UIEvENts') instanceof window.UIEvent is true
95 PASS document.createEvent('UIEvENts') instanceof window.Event is true
96 PASS document.createEvent('UIEvENts').constructor === window.UIEvent is true
74 PASS document.createEvent('TransitionEvent') instanceof window.TransitionEvent i s true 97 PASS document.createEvent('TransitionEvent') instanceof window.TransitionEvent i s true
75 PASS document.createEvent('TransitionEvent') instanceof window.Event is true 98 PASS document.createEvent('TransitionEvent') instanceof window.Event is true
76 PASS document.createEvent('TransitionEvent').constructor === window.TransitionEv ent is true 99 PASS document.createEvent('TransitionEvent').constructor === window.TransitionEv ent is true
77 PASS document.createEvent('WebKitAnimationEvent') instanceof window.WebKitAnimat ionEvent is true 100 PASS document.createEvent('WebKitAnimationEvent') instanceof window.WebKitAnimat ionEvent is true
78 PASS document.createEvent('WebKitAnimationEvent') instanceof window.Event is tru e 101 PASS document.createEvent('WebKitAnimationEvent') instanceof window.Event is tru e
79 PASS document.createEvent('WebKitAnimationEvent').constructor === window.WebKitA nimationEvent is true 102 PASS document.createEvent('WebKitAnimationEvent').constructor === window.WebKitA nimationEvent is true
80 PASS document.createEvent('WebKitTransitionEvent') instanceof window.WebKitTrans itionEvent is true 103 PASS document.createEvent('WebKitTransitionEvent') instanceof window.WebKitTrans itionEvent is true
81 PASS document.createEvent('WebKitTransitionEvent') instanceof window.Event is tr ue 104 PASS document.createEvent('WebKitTransitionEvent') instanceof window.Event is tr ue
82 PASS document.createEvent('WebKitTransitionEvent').constructor === window.WebKit TransitionEvent is true 105 PASS document.createEvent('WebKitTransitionEvent').constructor === window.WebKit TransitionEvent is true
83 PASS document.createEvent('WheelEvent') instanceof window.WheelEvent is true 106 PASS document.createEvent('WheelEvent') instanceof window.WheelEvent is true
(...skipping 23 matching lines...) Expand all
107 PASS document.createEvent('TouchEvent') instanceof window.Event is true 130 PASS document.createEvent('TouchEvent') instanceof window.Event is true
108 PASS document.createEvent('TouchEvent').constructor === window.TouchEvent is tru e 131 PASS document.createEvent('TouchEvent').constructor === window.TouchEvent is tru e
109 PASS document.createEvent('AutocompleteErrorEvent') instanceof window.Autocomple teErrorEvent is true 132 PASS document.createEvent('AutocompleteErrorEvent') instanceof window.Autocomple teErrorEvent is true
110 PASS document.createEvent('AutocompleteErrorEvent') instanceof window.Event is t rue 133 PASS document.createEvent('AutocompleteErrorEvent') instanceof window.Event is t rue
111 PASS document.createEvent('AutocompleteErrorEvent').constructor === window.Autoc ompleteErrorEvent is true 134 PASS document.createEvent('AutocompleteErrorEvent').constructor === window.Autoc ompleteErrorEvent is true
112 PASS allEventInterfacesCreateEvents is true 135 PASS allEventInterfacesCreateEvents is true
113 PASS successfullyParsed is true 136 PASS successfullyParsed is true
114 137
115 TEST COMPLETE 138 TEST COMPLETE
116 139
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/event-creation.html ('k') | Source/build/scripts/make_event_factory.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698