Unverified Commit 23cc83f1 authored by boklm's avatar boklm
Browse files

dom objects enumeration test: add esr31 new objects

The list of new objects:

- addEventListener
- alert
- AnalyserNode
- applicationCache
- atob
- AudioBuffer
- AudioBufferSourceNode
- AudioContext
- AudioDestinationNode
- AudioListener
- AudioNode
- AudioParam
- AudioProcessingEvent
- BiquadFilterNode
- blur
- btoa
- cancelAnimationFrame
- captureEvents
- ChannelMergerNode
- ChannelSplitterNode
- ChromeWorker
- clearInterval
- clearTimeout
- close
- closed
- confirm
- Console
- content
- ConvolverNode
- crypto
- DelayNode
- devicePixelRatio
- dispatchEvent
- DOMMMIError
- DOMPoint
- DOMPointReadOnly
- DOMQuad
- DOMRect
- DOMRectList
- DOMRectReadOnly
- dump
- DynamicsCompressorNode
- ErrorEvent
- External
- find
- focus
- frameElement
- frames
- fullScreen
- GainNode
- getComputedStyle
- getDefaultComputedStyle
- getSelection
- history
- HTMLContentElement
- HTMLFormControlsCollection
- HTMLShadowElement
- HTMLTrackElement
- IDBFileHandle
- indexedDB
- innerHeight
- innerWidth
- InputEvent
- InstallTriggerImpl
- Intl
- length
- localStorage
- location
- locationbar
- matchMedia
- MediaElementAudioSourceNode
- MediaRecorder
- MediaStreamAudioDestinationNode
- MediaStreamAudioSourceNode
- menubar
- MessagePort
- moveBy
- moveTo
- mozAnimationStartTime
- mozCancelAnimationFrame
- mozCancelRequestAnimationFrame
- mozContact
- mozIndexedDB
- mozInnerScreenX
- mozInnerScreenY
- mozPaintCount
- mozRequestAnimationFrame
- name
- OfflineAudioCompletionEvent
- OfflineAudioContext
- onabort
- onafterprint
- onbeforeprint
- onbeforeunload
- onblur
- oncanplay
- oncanplaythrough
- onchange
- onclick
- oncontextmenu
- ondblclick
- ondevicelight
- ondevicemotion
- ondeviceorientation
- ondeviceproximity
- ondrag
- ondragend
- ondragenter
- ondragleave
- ondragover
- ondragstart
- ondrop
- ondurationchange
- onemptied
- onended
- onerror
- onfocus
- ongotpointercapture
- onhashchange
- oninput
- oninvalid
- onkeydown
- onkeypress
- onkeyup
- onload
- onloadeddata
- onloadedmetadata
- onloadstart
- onlostpointercapture
- onmessage
- onmousedown
- onmouseenter
- onmouseleave
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- onmozfullscreenchange
- onmozfullscreenerror
- onmozpointerlockchange
- onmozpointerlockerror
- onoffline
- ononline
- onpagehide
- onpageshow
- onpause
- onplay
- onplaying
- onpointercancel
- onpointerdown
- onpointerenter
- onpointerleave
- onpointermove
- onpointerout
- onpointerover
- onpointerup
- onpopstate
- onprogress
- onratechange
- onreset
- onresize
- onscroll
- onseeked
- onseeking
- onselect
- onshow
- onstalled
- onsubmit
- onsuspend
- ontimeupdate
- onunload
- onuserproximity
- onvolumechange
- onwaiting
- onwheel
- open
- opener
- OscillatorNode
- outerHeight
- outerWidth
- pageXOffset
- pageYOffset
- PannerNode
- parent
- Path2D
- performance
- PerformanceEntry
- PerformanceResourceTiming
- PeriodicWave
- personalbar
- PhoneNumberService
- postMessage
- print
- Promise
- prompt
- QueryInterface
- RecordErrorEvent
- releaseEvents
- removeEventListener
- requestAnimationFrame
- resizeBy
- resizeTo
- RTCPeerConnectionIdentityErrorEvent
- RTCPeerConnectionIdentityEvent
- screen
- screenX
- screenY
- ScriptProcessorNode
- scroll
- scrollbars
- scrollBy
- scrollByLines
- scrollByPages
- scrollMaxX
- scrollMaxY
- scrollTo
- scrollX
- scrollY
- self
- sessionStorage
- setInterval
- setResizable
- setTimeout
- SharedWorker
- showModalDialog
- sizeToContent
- speechSynthesis
- status
- statusbar
- stop
- SVGFEDropShadowElement
- TextTrack
- TextTrackCueList
- TextTrackList
- toolbar
- TrackEvent
- updateCommands
- URLSearchParams
- VTTCue
- WaveShaperNode
- WebGLVertexArray
- Worker
parent 143dc2ab
......@@ -11,52 +11,82 @@ var {expect} = require("../mozilla-mozmill-tests/lib/assertions");
// The list of expected DOM objects
const interfaceNamesInGlobalScope =
[
"addEventListener",
"adjustToolbarIconArrow",
"alert",
"AnalyserNode",
"AnimationEvent",
"Application",
"applicationCache",
"ArchiveRequest",
"Array",
"ArrayBuffer",
"AsyncScrollEventDetail",
"atob",
"Attr",
"Audio",
"AudioBuffer",
"AudioBufferSourceNode",
"AudioContext",
"AudioDestinationNode",
"AudioListener",
"AudioNode",
"AudioParam",
"AudioProcessingEvent",
"AudioStreamTrack",
"BarProp",
"BatteryManager",
"BeforeUnloadEvent",
"BiquadFilterNode",
"Blob",
"BlobEvent",
"blur",
"Boolean",
"BoxObject",
"BrowserFeedWriter",
"btoa",
"CameraCapabilities",
"CameraControl",
"CameraManager",
"cancelAnimationFrame",
"CanvasGradient",
"CanvasPattern",
"CanvasRenderingContext2D",
"captureEvents",
"CaretPosition",
"CDATASection",
"ChannelMergerNode",
"ChannelSplitterNode",
"CharacterData",
"ChromeMessageBroadcaster",
"ChromeMessageSender",
"ChromeWindow",
"ChromeWorker",
"clearInterval",
"clearTimeout",
"ClientInformation",
"ClientRect",
"ClientRectList",
"ClipboardEvent",
"close",
"closed",
"CloseEvent",
"CommandEvent",
"Comment",
"Components",
"CompositionEvent",
"confirm",
"console",
"Console",
"Contact",
"ContactManager",
"content",
"ContentFrameMessageManager",
"Controllers",
"ConvolverNode",
"Counter",
"CRMFObject",
"crypto",
"Crypto",
"CryptoDialogs",
"CSS",
......@@ -92,17 +122,20 @@ const interfaceNamesInGlobalScope =
"Date",
"decodeURI",
"decodeURIComponent",
"DelayNode",
"DesktopNotification",
"DesktopNotificationCenter",
"DeviceAcceleration",
"DeviceLightEvent",
"DeviceMotionEvent",
"DeviceOrientationEvent",
"devicePixelRatio",
"DeviceProximityEvent",
"DeviceRotationRate",
"DeviceStorage",
"DeviceStorageChangeEvent",
"DeviceStorageCursor",
"dispatchEvent",
"document",
"Document",
"DocumentFragment",
......@@ -113,7 +146,14 @@ const interfaceNamesInGlobalScope =
"DOMError",
"DOMException",
"DOMImplementation",
"DOMMMIError",
"DOMParser",
"DOMPoint",
"DOMPointReadOnly",
"DOMQuad",
"DOMRect",
"DOMRectList",
"DOMRectReadOnly",
"DOMRequest",
"DOMSettableTokenList",
"DOMStringList",
......@@ -121,6 +161,8 @@ const interfaceNamesInGlobalScope =
"DOMTokenList",
"DOMTransactionEvent",
"DragEvent",
"dump",
"DynamicsCompressorNode",
"Element",
"ElementCSSInlineStyle",
"ElementReplaceEvent",
......@@ -128,6 +170,7 @@ const interfaceNamesInGlobalScope =
"encodeURI",
"encodeURIComponent",
"Error",
"ErrorEvent",
"escape",
"eval",
"EvalError",
......@@ -137,19 +180,26 @@ const interfaceNamesInGlobalScope =
"EventSource",
"EventTarget",
"external",
"External",
"File",
"FileHandle",
"FileList",
"FileReader",
"FileRequest",
"find",
"Float32Array",
"Float64Array",
"focus",
"FocusEvent",
"FontFace",
"FontFaceList",
"FormData",
"frameElement",
"frames",
"fullScreen",
"Function",
"FutureResolver",
"GainNode",
"Gamepad",
"GamepadAxisMoveEvent",
"GamepadButtonEvent",
......@@ -160,12 +210,16 @@ const interfaceNamesInGlobalScope =
"GeoPositionCoords",
"GeoPositionError",
"GeoPositionErrorCallback",
"getComputedStyle",
"getDefaultComputedStyle",
"getInterface",
"getSelection",
"GetUserMediaErrorCallback",
"GetUserMediaSuccessCallback",
"GlobalObjectConstructor",
"GlobalPropertyInitializer",
"HashChangeEvent",
"history",
"History",
"HTMLAnchorElement",
"HTMLAppletElement",
......@@ -179,6 +233,7 @@ const interfaceNamesInGlobalScope =
"HTMLCanvasElement",
"HTMLCollection",
"HTMLCommandElement",
"HTMLContentElement",
"HTMLDataElement",
"HTMLDataListElement",
"HTMLDirectoryElement",
......@@ -189,6 +244,7 @@ const interfaceNamesInGlobalScope =
"HTMLEmbedElement",
"HTMLFieldSetElement",
"HTMLFontElement",
"HTMLFormControlsCollection",
"HTMLFormElement",
"HTMLFrameElement",
"HTMLFrameSetElement",
......@@ -224,6 +280,7 @@ const interfaceNamesInGlobalScope =
"HTMLQuoteElement",
"HTMLScriptElement",
"HTMLSelectElement",
"HTMLShadowElement",
"HTMLSourceElement",
"HTMLSpanElement",
"HTMLStyleElement",
......@@ -237,6 +294,7 @@ const interfaceNamesInGlobalScope =
"HTMLTextAreaElement",
"HTMLTimeElement",
"HTMLTitleElement",
"HTMLTrackElement",
"HTMLUListElement",
"HTMLUnknownElement",
"HTMLVideoElement",
......@@ -244,6 +302,7 @@ const interfaceNamesInGlobalScope =
"IDBCursorWithValue",
"IDBDatabase",
"IDBFactory",
"IDBFileHandle",
"IDBIndex",
"IDBKeyRange",
"IDBObjectStore",
......@@ -254,13 +313,19 @@ const interfaceNamesInGlobalScope =
"Image",
"ImageData",
"ImageDocument",
"indexedDB",
"Infinity",
"innerHeight",
"innerWidth",
"InputEvent",
"insertPropertyStrings",
"InstallTrigger",
"InstallTriggerImpl",
"Int16Array",
"Int32Array",
"Int8Array",
"InternalError",
"Intl",
"isFinite",
"isNaN",
"Iterator",
......@@ -268,35 +333,55 @@ const interfaceNamesInGlobalScope =
"JSWindow",
"KeyboardEvent",
"KeyEvent",
"length",
"LinkStyle",
"LoadStatus",
"LocalMediaStream",
"localStorage",
"location",
"Location",
"locationbar",
"LockedFile",
"LSProgressEvent",
"Map",
"matchMedia",
"Math",
"MediaElementAudioSourceNode",
"MediaError",
"MediaList",
"MediaQueryList",
"MediaQueryListListener",
"MediaRecorder",
"MediaStream",
"MediaStreamAudioDestinationNode",
"MediaStreamAudioSourceNode",
"MediaStreamTrack",
"menubar",
"MessageEvent",
"MessagePort",
"MimeType",
"MimeTypeArray",
"ModalContentWindow",
"MouseEvent",
"MouseScrollEvent",
"moveBy",
"moveTo",
"MozAlarmsManager",
"mozAnimationStartTime",
"MozApplicationEvent",
"MozBlobBuilder",
"MozBrowserFrame",
"mozCancelAnimationFrame",
"mozCancelRequestAnimationFrame",
"MozCanvasPrintState",
"MozConnection",
"mozContact",
"MozContactChangeEvent",
"MozCSSKeyframeRule",
"MozCSSKeyframesRule",
"mozIndexedDB",
"mozInnerScreenX",
"mozInnerScreenY",
"MozMmsEvent",
"MozMmsMessage",
"MozMobileCellInfo",
......@@ -312,7 +397,9 @@ const interfaceNamesInGlobalScope =
"MozNetworkStats",
"MozNetworkStatsData",
"MozNetworkStatsManager",
"mozPaintCount",
"MozPowerManager",
"mozRequestAnimationFrame",
"MozSettingsEvent",
"MozSmsEvent",
"MozSmsFilter",
......@@ -326,6 +413,7 @@ const interfaceNamesInGlobalScope =
"MutationEvent",
"MutationObserver",
"MutationRecord",
"name",
"NaN",
"navigator",
"Navigator",
......@@ -350,56 +438,198 @@ const interfaceNamesInGlobalScope =
"NSXPathExpression",
"Number",
"Object",
"OfflineAudioCompletionEvent",
"OfflineAudioContext",
"OfflineResourceList",
"onabort",
"onafterprint",
"onbeforeprint",
"onbeforeunload",
"onblur",
"oncanplay",
"oncanplaythrough",
"onchange",
"onclick",
"oncontextmenu",
"ondblclick",
"ondevicelight",
"ondevicemotion",
"ondeviceorientation",
"ondeviceproximity",
"ondrag",
"ondragend",
"ondragenter",
"ondragleave",
"ondragover",
"ondragstart",
"ondrop",
"ondurationchange",
"onemptied",
"onended",
"onerror",
"onfocus",
"ongotpointercapture",
"onhashchange",
"oninput",
"oninvalid",
"onkeydown",
"onkeypress",
"onkeyup",
"onload",
"onLoad",
"onloadeddata",
"onloadedmetadata",
"onloadstart",
"onlostpointercapture",
"onmessage",
"onmousedown",
"onmouseenter",
"onmouseleave",
"onmousemove",
"onmouseout",
"onmouseover",
"onmouseup",
"onmozfullscreenchange",
"onmozfullscreenerror",
"onmozpointerlockchange",
"onmozpointerlockerror",
"onoffline",
"ononline",
"onpagehide",
"onpageshow",
"onpause",
"onplay",
"onplaying",
"onpointercancel",
"onpointerdown",
"onpointerenter",
"onpointerleave",
"onpointermove",
"onpointerout",
"onpointerover",
"onpointerup",
"onpopstate",
"onprogress",
"onratechange",
"onreset",
"onresize",
"onscroll",
"onseeked",
"onseeking",
"onselect",
"onshow",
"onstalled",
"onsubmit",
"onsuspend",
"ontimeupdate",
"onunload",
"onuserproximity",
"onvolumechange",
"onwaiting",
"onwheel",
"open",
"opener",
"OpenWindowEventDetail",
"Option",
"OscillatorNode",
"outerHeight",
"outerWidth",
"PageTransitionEvent",
"pageXOffset",
"pageYOffset",
"PaintRequest",
"PaintRequestList",
"PannerNode",
"parent",
"parseFloat",
"parseInt",
"Parser",
"ParserJS",
"Path2D",
"PaymentRequestInfo",
"performance",
"Performance",
"PerformanceEntry",
"PerformanceNavigation",
"PerformanceResourceTiming",
"PerformanceTiming",
"PeriodicWave",
"PermissionSettings",
"personalbar",
"PhoneNumberService",
"Pkcs11",
"Plugin",
"PluginArray",
"PopStateEvent",
"PopupBlockedEvent",
"postMessage",
"print",
"ProcessingInstruction",
"ProgressEvent",
"Promise",
"prompt",
"PropertyNodeList",
"Proxy",
"PushManager",
"QueryInterface",
"Range",
"RangeError",
"RecordErrorEvent",
"Rect",
"ReferenceError",
"RegExp",
"releaseEvents",
"removeEventListener",
"requestAnimationFrame",
"RequestService",
"resizeBy",
"resizeTo",
"RGBColor",
"RTCIceCandidate",
"RTCPeerConnection",
"RTCPeerConnectionIdentityErrorEvent",
"RTCPeerConnectionIdentityEvent",
"RTCSessionDescription",
"screen",
"Screen",
"screenX",
"screenY",
"ScriptProcessorNode",
"scroll",
"ScrollAreaEvent",
"scrollbars",
"scrollBy",
"scrollByLines",
"scrollByPages",
"scrollMaxX",
"scrollMaxY",
"scrollTo",
"scrollX",
"scrollY",
"Selection",
"self",
"Serializer",
"Services",
"sessionStorage",
"Set",
"setInterval",
"setResizable",
"setTimeout",
"SettingsLock",
"SettingsManager",
"SharedWorker",
"showModalDialog",
"sidebar",
"SimpleGestureEvent",
"sizeToContent",
"SmartCardEvent",
"SpeechRecognitionError",
"SpeechRecognitionEvent",
"speechSynthesis",
"SpeechSynthesisEvent",
"status",
"statusbar",
"stop",
"StopIteration",
"Storage",
"StorageEvent",
......@@ -451,6 +681,7 @@ const interfaceNamesInGlobalScope =
"SVGFEDiffuseLightingElement",
"SVGFEDisplacementMapElement",
"SVGFEDistantLightElement",
"SVGFEDropShadowElement",
"SVGFEFloodElement",
"SVGFEFuncAElement",
"SVGFEFuncBElement",
......@@ -551,14 +782,19 @@ const interfaceNamesInGlobalScope =
"TextDecoder",
"TextEncoder",
"TextMetrics",
"TextTrack",
"TextTrackCueList",
"TextTrackList",
"TimeEvent",
"TimeRanges",
"toolbar",
"top",
"toStaticHTML",
"ToString",
"Touch",
"TouchEvent",
"TouchList",
"TrackEvent",
"TransitionEvent",
"TreeColumn",
"TreeColumns",
......@@ -575,13 +811,17 @@ const interfaceNamesInGlobalScope =
"UndoManager",
"unescape",
"uneval",
"updateCommands",
"URIError",
"URL",
"URLSearchParams",
"UserDataHandler",
"UserProximityEvent",
"USSDReceivedEvent",
"ValidityState",
"VideoStreamTrack",
"VTTCue",
"WaveShaperNode",
"WeakMap",
"WebGLActiveInfo",
"WebGLBuffer",
......@@ -593,6 +833,7 @@ const interfaceNamesInGlobalScope =
"WebGLShaderPrecisionFormat",
"WebGLTexture",
"WebGLUniformLocation",
"WebGLVertexArray",
"WebSocket",
"WheelEvent",
"window",
......@@ -601,6 +842,7 @@ const interfaceNamesInGlobalScope =
"WindowInternal",
"WindowPerformance",
"WindowUtils",
"Worker",
"XMLDocument",
"XMLHttpRequest",
"XMLHttpRequestEventTarget",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment