blob: dd00952efed5c4e74e14654930419f0d28ed07f6 [file] [log] [blame]
CONSOLE WARNING: 'SVGZoomEvent' is deprecated and will be removed in M52, around August 2016. See https://www.chromestatus.com/features/5760883808534528 for more details.
This tests that document.createEvent is hooked up for all Event interfaces (and alternatives) and creates the right instance.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.createEvent('AnimationEvent') instanceof window.AnimationEvent is true
PASS document.createEvent('AnimationEvent') instanceof window.Event is true
PASS document.createEvent('AnimationEvent').constructor === window.AnimationEvent is true
PASS document.createEvent('Event') instanceof window.Event is true
PASS document.createEvent('Event').constructor === window.Event is true
PASS document.createEvent('EvENt') instanceof window.Event is true
PASS document.createEvent('EvENt').constructor === window.Event is true
PASS document.createEvent('Events') instanceof window.Event is true
PASS document.createEvent('Events').constructor === window.Event is true
PASS document.createEvent('EvENts') instanceof window.Event is true
PASS document.createEvent('EvENts').constructor === window.Event is true
PASS document.createEvent('HTMLEvents') instanceof window.Event is true
PASS document.createEvent('HTMLEvents').constructor === window.Event is true
PASS document.createEvent('HTMLEvENts') instanceof window.Event is true
PASS document.createEvent('HTMLEvENts').constructor === window.Event is true
PASS document.createEvent('CompositionEvent') instanceof window.CompositionEvent is true
PASS document.createEvent('CompositionEvent') instanceof window.Event is true
PASS document.createEvent('CompositionEvent').constructor === window.CompositionEvent is true
PASS document.createEvent('CustomEvent') instanceof window.CustomEvent is true
PASS document.createEvent('CustomEvent') instanceof window.Event is true
PASS document.createEvent('CustomEvent').constructor === window.CustomEvent is true
PASS document.createEvent('CustomEvENt') instanceof window.CustomEvent is true
PASS document.createEvent('CustomEvENt') instanceof window.Event is true
PASS document.createEvent('CustomEvENt').constructor === window.CustomEvent is true
PASS document.createEvent('ErrorEvent') instanceof window.ErrorEvent is true
PASS document.createEvent('ErrorEvent') instanceof window.Event is true
PASS document.createEvent('ErrorEvent').constructor === window.ErrorEvent is true
PASS document.createEvent('HashChangeEvent') instanceof window.HashChangeEvent is true
PASS document.createEvent('HashChangeEvent') instanceof window.Event is true
PASS document.createEvent('HashChangeEvent').constructor === window.HashChangeEvent is true
PASS document.createEvent('KeyboardEvent') instanceof window.KeyboardEvent is true
PASS document.createEvent('KeyboardEvent') instanceof window.UIEvent is true
PASS document.createEvent('KeyboardEvent') instanceof window.Event is true
PASS document.createEvent('KeyboardEvent').constructor === window.KeyboardEvent is true
PASS document.createEvent('KeyboardEvents') instanceof window.KeyboardEvent is true
PASS document.createEvent('KeyboardEvents') instanceof window.UIEvent is true
PASS document.createEvent('KeyboardEvents') instanceof window.Event is true
PASS document.createEvent('KeyboardEvents').constructor === window.KeyboardEvent is true
PASS document.createEvent('MessageEvent') instanceof window.MessageEvent is true
PASS document.createEvent('MessageEvent') instanceof window.Event is true
PASS document.createEvent('MessageEvent').constructor === window.MessageEvent is true
PASS document.createEvent('MouseEvent') instanceof window.MouseEvent is true
PASS document.createEvent('MouseEvent') instanceof window.UIEvent is true
PASS document.createEvent('MouseEvent') instanceof window.Event is true
PASS document.createEvent('MouseEvent').constructor === window.MouseEvent is true
PASS document.createEvent('MouseEvENt') instanceof window.MouseEvent is true
PASS document.createEvent('MouseEvENt') instanceof window.UIEvent is true
PASS document.createEvent('MouseEvENt') instanceof window.Event is true
PASS document.createEvent('MouseEvENt').constructor === window.MouseEvent is true
PASS document.createEvent('MouseEvents') instanceof window.MouseEvent is true
PASS document.createEvent('MouseEvents') instanceof window.UIEvent is true
PASS document.createEvent('MouseEvents') instanceof window.Event is true
PASS document.createEvent('MouseEvents').constructor === window.MouseEvent is true
PASS document.createEvent('MouseEvENts') instanceof window.MouseEvent is true
PASS document.createEvent('MouseEvENts') instanceof window.UIEvent is true
PASS document.createEvent('MouseEvENts') instanceof window.Event is true
PASS document.createEvent('MouseEvENts').constructor === window.MouseEvent is true
PASS document.createEvent('MutationEvent') instanceof window.MutationEvent is true
PASS document.createEvent('MutationEvent') instanceof window.Event is true
PASS document.createEvent('MutationEvent').constructor === window.MutationEvent is true
PASS document.createEvent('MutationEvents') instanceof window.MutationEvent is true
PASS document.createEvent('MutationEvents') instanceof window.Event is true
PASS document.createEvent('MutationEvents').constructor === window.MutationEvent is true
PASS document.createEvent('PageTransitionEvent') instanceof window.PageTransitionEvent is true
PASS document.createEvent('PageTransitionEvent') instanceof window.Event is true
PASS document.createEvent('PageTransitionEvent').constructor === window.PageTransitionEvent is true
PASS document.createEvent('PopStateEvent') instanceof window.PopStateEvent is true
PASS document.createEvent('PopStateEvent') instanceof window.Event is true
PASS document.createEvent('PopStateEvent').constructor === window.PopStateEvent is true
PASS document.createEvent('ProgressEvent') instanceof window.ProgressEvent is true
PASS document.createEvent('ProgressEvent') instanceof window.Event is true
PASS document.createEvent('ProgressEvent').constructor === window.ProgressEvent is true
PASS document.createEvent('TextEvent') instanceof window.TextEvent is true
PASS document.createEvent('TextEvent') instanceof window.UIEvent is true
PASS document.createEvent('TextEvent') instanceof window.Event is true
PASS document.createEvent('TextEvent').constructor === window.TextEvent is true
PASS document.createEvent('UIEvent') instanceof window.UIEvent is true
PASS document.createEvent('UIEvent') instanceof window.Event is true
PASS document.createEvent('UIEvent').constructor === window.UIEvent is true
PASS document.createEvent('UIEvENt') instanceof window.UIEvent is true
PASS document.createEvent('UIEvENt') instanceof window.Event is true
PASS document.createEvent('UIEvENt').constructor === window.UIEvent is true
PASS document.createEvent('UIEvents') instanceof window.UIEvent is true
PASS document.createEvent('UIEvents') instanceof window.Event is true
PASS document.createEvent('UIEvents').constructor === window.UIEvent is true
PASS document.createEvent('UIEvENts') instanceof window.UIEvent is true
PASS document.createEvent('UIEvENts') instanceof window.Event is true
PASS document.createEvent('UIEvENts').constructor === window.UIEvent is true
PASS document.createEvent('TransitionEvent') instanceof window.TransitionEvent is true
PASS document.createEvent('TransitionEvent') instanceof window.Event is true
PASS document.createEvent('TransitionEvent').constructor === window.TransitionEvent is true
PASS document.createEvent('WebKitAnimationEvent') instanceof window.WebKitAnimationEvent is true
PASS document.createEvent('WebKitAnimationEvent') instanceof window.Event is true
PASS document.createEvent('WebKitAnimationEvent').constructor === window.WebKitAnimationEvent is true
PASS document.createEvent('WebKitTransitionEvent') instanceof window.WebKitTransitionEvent is true
PASS document.createEvent('WebKitTransitionEvent') instanceof window.Event is true
PASS document.createEvent('WebKitTransitionEvent').constructor === window.WebKitTransitionEvent is true
PASS document.createEvent('WheelEvent') instanceof window.WheelEvent is true
PASS document.createEvent('WheelEvent') instanceof window.MouseEvent is true
PASS document.createEvent('WheelEvent') instanceof window.UIEvent is true
PASS document.createEvent('WheelEvent') instanceof window.Event is true
PASS document.createEvent('WheelEvent').constructor === window.WheelEvent is true
PASS document.createEvent('StorageEvent') instanceof window.StorageEvent is true
PASS document.createEvent('StorageEvent') instanceof window.Event is true
PASS document.createEvent('StorageEvent').constructor === window.StorageEvent is true
PASS document.createEvent('SVGEvents') instanceof window.Event is true
PASS document.createEvent('SVGEvents').constructor === window.Event is true
PASS document.createEvent('SVGZoomEvent') instanceof window.SVGZoomEvent is true
PASS document.createEvent('SVGZoomEvent') instanceof window.Event is true
PASS document.createEvent('SVGZoomEvent').constructor === window.SVGZoomEvent is true
PASS document.createEvent('SVGZoomEvents') instanceof window.SVGZoomEvent is true
PASS document.createEvent('SVGZoomEvents') instanceof window.Event is true
PASS document.createEvent('SVGZoomEvents').constructor === window.SVGZoomEvent is true
PASS document.createEvent('CloseEvent') instanceof window.CloseEvent is true
PASS document.createEvent('CloseEvent') instanceof window.Event is true
PASS document.createEvent('CloseEvent').constructor === window.CloseEvent is true
PASS document.createEvent('TouchEvent') instanceof window.TouchEvent is true
PASS document.createEvent('TouchEvent') instanceof window.Event is true
PASS document.createEvent('TouchEvent').constructor === window.TouchEvent is true
PASS document.createEvent('AutocompleteErrorEvent') instanceof window.AutocompleteErrorEvent is true
PASS document.createEvent('AutocompleteErrorEvent') instanceof window.Event is true
PASS document.createEvent('AutocompleteErrorEvent').constructor === window.AutocompleteErrorEvent is true
PASS allEventInterfacesCreateEvents is true
PASS successfullyParsed is true
TEST COMPLETE