summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/dom/nodes/Document-createEvent.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/dom/nodes/Document-createEvent.js')
-rw-r--r--testing/web-platform/tests/dom/nodes/Document-createEvent.js36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/web-platform/tests/dom/nodes/Document-createEvent.js b/testing/web-platform/tests/dom/nodes/Document-createEvent.js
new file mode 100644
index 000000000..e55487ada
--- /dev/null
+++ b/testing/web-platform/tests/dom/nodes/Document-createEvent.js
@@ -0,0 +1,36 @@
+var aliases = {
+ "AnimationEvent": "AnimationEvent",
+ "BeforeUnloadEvent": "BeforeUnloadEvent",
+ "CloseEvent": "CloseEvent",
+ "CompositionEvent": "CompositionEvent",
+ "CustomEvent": "CustomEvent",
+ "DeviceMotionEvent": "DeviceMotionEvent",
+ "DeviceOrientationEvent": "DeviceOrientationEvent",
+ "DragEvent": "DragEvent",
+ "ErrorEvent": "ErrorEvent",
+ "Event": "Event",
+ "Events": "Event",
+ "FocusEvent": "FocusEvent",
+ "HashChangeEvent": "HashChangeEvent",
+ "HTMLEvents": "Event",
+ "IDBVersionChangeEvent": "IDBVersionChangeEvent",
+ "KeyboardEvent": "KeyboardEvent",
+ "MessageEvent": "MessageEvent",
+ "MouseEvent": "MouseEvent",
+ "MouseEvents": "MouseEvent",
+ "PageTransitionEvent": "PageTransitionEvent",
+ "PopStateEvent": "PopStateEvent",
+ "ProgressEvent": "ProgressEvent",
+ "StorageEvent": "StorageEvent",
+ "SVGEvents": "Event",
+ "SVGZoomEvent": "SVGZoomEvent",
+ "SVGZoomEvents": "SVGZoomEvent",
+ "TextEvent": "CompositionEvent",
+ "TouchEvent": "TouchEvent",
+ "TrackEvent": "TrackEvent",
+ "TransitionEvent": "TransitionEvent",
+ "UIEvent": "UIEvent",
+ "UIEvents": "UIEvent",
+ "WebGLContextEvent": "WebGLContextEvent",
+ "WheelEvent": "WheelEvent",
+};