Title: [94506] trunk/LayoutTests
- Revision
- 94506
- Author
- [email protected]
- Date
- 2011-09-04 14:19:40 -0700 (Sun, 04 Sep 2011)
Log Message
Forgot to check in new results for fast/events/event-creation.html
* fast/events/event-creation-expected.txt:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (94505 => 94506)
--- trunk/LayoutTests/ChangeLog 2011-09-04 21:04:14 UTC (rev 94505)
+++ trunk/LayoutTests/ChangeLog 2011-09-04 21:19:40 UTC (rev 94506)
@@ -1,5 +1,11 @@
2011-09-04 Sam Weinig <[email protected]>
+ Forgot to check in new results for fast/events/event-creation.html
+
+ * fast/events/event-creation-expected.txt:
+
+2011-09-04 Sam Weinig <[email protected]>
+
Document.createEvent should support all the interfaces of Event we got
https://bugs.webkit.org/show_bug.cgi?id=67568
Modified: trunk/LayoutTests/fast/events/event-creation-expected.txt (94505 => 94506)
--- trunk/LayoutTests/fast/events/event-creation-expected.txt 2011-09-04 21:04:14 UTC (rev 94505)
+++ trunk/LayoutTests/fast/events/event-creation-expected.txt 2011-09-04 21:19:40 UTC (rev 94506)
@@ -1,15 +1,106 @@
-This test checks to see if we can create and initialize events of various types. This wouldn't work in older versions because we had prototypes hooked up incorrectly.
+This tests that document.createEvent is hooked up for all Event interfaces (and alternatives) and creates the right instance.
-If the test passes, you should see one line below about each of ten different events being successfully created.
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-Created an Event object.
-Created a UIEvent object.
-Created a MouseEvent object.
-Created a KeyboardEvent object.
-Created a MutationEvent object.
-Created an Event object with the old HTMLEvents event type.
-Created a UIEvent object with the old UIEvents event type.
-Created a MouseEvent object with the old MouseEvents event type.
-Created a KeyboardEvent object with the old KeyboardEvents event type.
-Created a MutationEvent object with the old MutationEvents event type.
+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('HTMLEvents') instanceof window.Event is true
+PASS document.createEvent('HTMLEvents').constructor === window.Event is true
+PASS document.createEvent('BeforeLoadEvent') instanceof window.BeforeLoadEvent is true
+PASS document.createEvent('BeforeLoadEvent') instanceof window.Event is true
+PASS document.createEvent('BeforeLoadEvent').constructor === window.BeforeLoadEvent 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('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('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('OverflowEvent') instanceof window.OverflowEvent is true
+PASS document.createEvent('OverflowEvent') instanceof window.Event is true
+PASS document.createEvent('OverflowEvent').constructor === window.OverflowEvent 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('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('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.UIEvent is true
+PASS document.createEvent('WheelEvent') instanceof window.Event is true
+PASS document.createEvent('WheelEvent').constructor === window.WheelEvent is true
+PASS document.createEvent('XMLHttpRequestProgressEvent') instanceof window.XMLHttpRequestProgressEvent is true
+PASS document.createEvent('XMLHttpRequestProgressEvent') instanceof window.ProgressEvent is true
+PASS document.createEvent('XMLHttpRequestProgressEvent') instanceof window.Event is true
+PASS document.createEvent('XMLHttpRequestProgressEvent').constructor === window.XMLHttpRequestProgressEvent 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 allEventInterfacesCreateEvents is true
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes